HomeSoftware Heritage

Add environment variable $SWH_SENTRY_ENVIRONMENT

Authored by vlorentz on Jan 22 2020, 2:06 PM.

Description

Add environment variable $SWH_SENTRY_ENVIRONMENT

This allows initializing Sentry with the environment the process
is running in (ie. "production" or "staging"), which allows filtering
in the web UI to only show issues happening in one of the environments.

https://docs.sentry.io/enriching-error-data/environments/?platform=python

Details

Committed
vlorentzJan 22 2020, 3:35 PM
Pushed
vlorentzJan 22 2020, 7:13 PM
Differential Revision
D2572: Add environment variable $SWH_SENTRY_ENVIRONMENT
Parents
rDCORE54ac2ecd45ef: pytest_plugin: Fix sphinx warnings
Branches
Unknown
Tags
Unknown
References
tag: v0.0.86
Build Status
Buildable 10254
Build 15216: test-and-buildJenkins