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.Resolves user information from Spring SecurityAuthenticationobtained viaSecurityContextHolder.