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:30:00 +02:00
parent 751fbdc4a5
commit 943e8b7a1f

View File

@ -43,9 +43,11 @@ def main():
sentry_sdk.init( sentry_sdk.init(
dsn=SENTRY_DSN, dsn=SENTRY_DSN,
integrations=[sentry_logging], integrations=[sentry_logging],
traces_sample_rate=1.0,
send_default_pii=True, send_default_pii=True,
release=os.environ.get('RELEASE_ID', 'test'), release=os.environ.get('RELEASE_ID', 'test'),
environment=os.environ.get('RELEASEMODE', 'dev') environment=os.environ.get('RELEASEMODE', 'dev'),
_experiments={"auto_enabling_integrations": True}
) )
logging.info("Connecting to MQ service...") logging.info("Connecting to MQ service...")