Annotation Type EnableSentry

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element 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.
    • Element Detail

      • dsn

        java.lang.String dsn
        The DSN tells the SDK where to send the events to. If this value is not provided, the SDK will just not send any events.
        Returns:
        the Sentry DSN
        Default:
        ""
      • sendDefaultPii

        boolean sendDefaultPii
        Whether to send personal identifiable information along with events.
        Returns:
        true if send default PII or false otherwise.
        Default:
        false
      • exceptionResolverOrder

        int exceptionResolverOrder
        Determines whether all web exceptions are reported or only uncaught exceptions.
        Returns:
        the order to use for SentryExceptionResolver
        Default:
        1
      • maxRequestBodySize

        io.sentry.SentryOptions.RequestSize maxRequestBodySize
        Controls the size of the request body to extract if any. No truncation is done by the SDK. If the request body is larger than the accepted size, nothing is sent.
        Default:
        io.sentry.SentryOptions.RequestSize.NONE