Package io.sentry.spring
package io.sentry.spring
-
ClassDescriptionAttaches context tags defined in
SentryOptions.getContextTags()fromMDCtoSentryBaseEvent.getTags().Enables Sentry error handling capabilities.Resolves user information fromHttpServletRequestobtained viaRequestContextHolder.HandlerExceptionResolverimplementation that will record any exception that a SpringControllerthrows to Sentry.Registers beans required to use Sentry core features.Initializes Sentry after all beans are registered.Attaches transaction name from the HTTP request toSentryEvent.Servlet container initializer used to add theSentrySpringFilterto theServletContext.Forks scopes for the thread running aRunnablegiven by parameter.Out of the box Spring integration configures singleSentryUserProvider-HttpServletRequestSentryUserProvider.Registers Spring Web specific Sentry beans.Attaches the list of active Spring profiles (an empty list if only the default profile is active) to theTraceContextassociated with the event.Resolves user information from Spring SecurityAuthenticationobtained viaSecurityContextHolder.