Java

Configuration

Sentry SDK configuration may be specified in:

  • Java system properties, by prefixing a property name with sentry..
  • Environment variables, by uppercasing a property name, replacing dots with underscores, and prefixing it with SENTRY_.
  • A sentry.properties file in application's working directory or in the root of the classpath.
    • sentry.properties.file property.
    • SENTRY_PROPERTIES_FILE environment variable.

Options:

  • stacktrace.app.packages accepts a comma-delimited list of packages considered "in-application". These frames are displayed by default, and framework/library frames are shown only when enabled.