Page MenuHomeSoftware Heritage

Add environment variable $SWH_SENTRY_ENVIRONMENT
ClosedPublic

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

Details

Summary

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

Diff Detail

Repository
rDCORE Foundations and core functionalities
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10233
Build 15178: tox-on-jenkinsJenkins
Build 15177: arc lint + arc unit

Event Timeline

ardumont added a subscriber: ardumont.

Nice!
Thanks.

Accepted, don't forget to fix the build though.
You are missing mock adaptations for the build to be green ;)

This revision is now accepted and ready to land.Jan 22 2020, 3:25 PM

fyi, I'm adapting the puppet manifests with this.