Squashed 'spiffworkflow-backend/' changes from 2148c39fc..248e79441

248e79441 added environment to sentry configs w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 248e79441f11d9a3d27a5b9777743de1d3bfedb9
This commit is contained in:
burnettk 2022-10-17 11:18:12 -04:00
parent bee232a55a
commit a1a01ad25a
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ def configure_sentry(app: flask.app.Flask) -> None:
integrations=[ integrations=[
FlaskIntegration(), FlaskIntegration(),
], ],
environment=app.config['ENV_IDENTIFIER'],
# Set traces_sample_rate to 1.0 to capture 100% # Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring. # of transactions for performance monitoring.
# We recommend adjusting this value in production. # We recommend adjusting this value in production.