Package io.sentry.spring.jakarta
package io.sentry.spring.jakarta
-
ClassDescriptionAttaches context tags defined in
SentryOptions.getContextTags()
fromMDC
toSentryBaseEvent.getTags()
.Enables Sentry error handling capabilities.Resolves user information fromHttpServletRequest
obtained viaRequestContextHolder
.HandlerExceptionResolver
implementation that will record any exception that a SpringController
throws 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 theSentrySpringFilter
to theServletContext
.Sets a current hub on a thread running aRunnable
given by parameter.Out of the box Spring integration configures singleSentryUserProvider
-HttpServletRequestSentryUserProvider
.Registers Spring Web specific Sentry beans.Resolves user information from Spring SecurityAuthentication
obtained viaSecurityContextHolder
.