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 file in application's working directory or in the root of the classpath.
    • property.
    • SENTRY_PROPERTIES_FILE environment variable.


  • 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.