@Retention(value=RUNTIME)
@Import(value={SentryHubRegistrar.class,SentryInitBeanPostProcessor.class,SentryWebConfiguration.class})
@Target(value=TYPE)
public @interface EnableSentry
SentryOptions
IHub for sending Sentry events
SentryExceptionResolver to send Sentry event for any uncaught exception
in Spring MVC flow.
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
dsn
The DSN tells the SDK where to send the events to.
|
int |
exceptionResolverOrder
Determines whether all web exceptions are reported or only uncaught exceptions.
|
io.sentry.SentryOptions.RequestSize |
maxRequestBodySize
Controls the size of the request body to extract if any.
|
boolean |
sendDefaultPii
Whether to send personal identifiable information along with events.
|
public abstract java.lang.String dsn
public abstract boolean sendDefaultPii
public abstract int exceptionResolverOrder
SentryExceptionResolverpublic abstract io.sentry.SentryOptions.RequestSize maxRequestBodySize