You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, an error is reported to the correct DNS in Sentry, however it uses the environment set in SENTRY_ENVIRONMENT. This is very inflexible and limits you to a single environment.
We'd like the ability override the default environment and enable custom environment overrides akin to the SENTRY_K8S_CUSTOM_DSNS setting by adding a newSENTRY_K8S_CUSTOM_ENVIRONMENTS variable.
New Configuration Variable
SENTRY_K8S_CUSTOM_ENVIRONMENTS - if set to 1, enables custom environments to be specified in the annotations with key k8s.sentry.io/environment which would take precedence over SENTRY_ENVIRONMENT. Disabled by default.
Example resource using SENTRY_K8S_CUSTOM_DSNS and SENTRY_K8S_CUSTOM_ENVIRONMENTS via annotations:
Currently, an error is reported to the correct DNS in Sentry, however it uses the environment set in
SENTRY_ENVIRONMENT
. This is very inflexible and limits you to a single environment.We'd like the ability override the default environment and enable custom environment overrides akin to the
SENTRY_K8S_CUSTOM_DSNS
setting by adding a newSENTRY_K8S_CUSTOM_ENVIRONMENTS
variable.New Configuration Variable
SENTRY_K8S_CUSTOM_ENVIRONMENTS
- if set to 1, enables custom environments to be specified in the annotations with keyk8s.sentry.io/environment
which would take precedence overSENTRY_ENVIRONMENT
. Disabled by default.Example resource using
SENTRY_K8S_CUSTOM_DSNS
andSENTRY_K8S_CUSTOM_ENVIRONMENTS
via annotations:The text was updated successfully, but these errors were encountered: