@Retention(value=RUNTIME)
@Import(value={SentryHubRegistrar.class,SentryInitBeanPostProcessor.class,SentryWebConfiguration.class})
@Target(value=TYPE)
public @interface EnableSentry
SentryOptions
IHub for sending Sentry events
SentrySpringRequestListener for attaching request information to 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.
|
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
SentryExceptionResolver