Sentry is initialized at startup if it is enabled.
Config fields:
sentry {
enabled = true
dsn = "https://public@example.sentry.io/1"
environment = "prod"
release = "4.2.0"
}
Environment fallbacks:
SENTRY_APPLICATION_ENVIRONMENT
SENTRY_APPLICATION_RELEASE
Common problems
Sentry stays turned off
Check that sentry.enabled is true and that the DSN is valid.
Bad DSN
Use an http or https DSN with user info and a host. Its path must end with a numeric project id.