@Retention(value=RUNTIME)
@Import(value={SentryHubRegistrar.class,SentryInitBeanPostProcessor.class,SentryWebConfiguration.class})
@Target(value=TYPE)
public @interface EnableSentry
SentryOptions
IHub for sending Sentry events
SentryRequestFilter 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.
|
boolean |
sendDefaultPii
Whether to send personal identifiable information along with events.
|