From a1a01ad25a1ef60b879dede6f037f0fff3381ae4 Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 17 Oct 2022 11:18:12 -0400 Subject: [PATCH] Squashed 'spiffworkflow-backend/' changes from 2148c39fc..248e79441 248e79441 added environment to sentry configs w/ burnettk git-subtree-dir: spiffworkflow-backend git-subtree-split: 248e79441f11d9a3d27a5b9777743de1d3bfedb9 --- src/spiffworkflow_backend/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spiffworkflow_backend/__init__.py b/src/spiffworkflow_backend/__init__.py index f2ef34f91..b5438b2c4 100644 --- a/src/spiffworkflow_backend/__init__.py +++ b/src/spiffworkflow_backend/__init__.py @@ -148,6 +148,7 @@ def configure_sentry(app: flask.app.Flask) -> None: integrations=[ FlaskIntegration(), ], + environment=app.config['ENV_IDENTIFIER'], # Set traces_sample_rate to 1.0 to capture 100% # of transactions for performance monitoring. # We recommend adjusting this value in production.