add sentry tracing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-19 22:29:20 +02:00
parent b835b63092
commit 1aef09c5ed

View File

@ -17,9 +17,11 @@ if SENTRY_DSN:
sentry_sdk.init(
dsn=SENTRY_DSN,
integrations=[FlaskIntegration()],
traces_sample_rate=1.0,
send_default_pii=True,
release=os.environ.get('RELEASE_ID', 'test'),
environment=os.environ.get('RELEASEMODE', 'dev')
environment=os.environ.get('RELEASEMODE', 'dev'),
_experiments={"auto_enabling_integrations": True}
)
# create flask app