From 5427aeb39a2513f835dc5b16c5019dd798c90098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 19 Oct 2020 22:26:49 +0200 Subject: [PATCH] add more sentry integrations --- src/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 7aaf3fe..1757ccf 100644 --- a/src/app.py +++ b/src/app.py @@ -5,6 +5,7 @@ from flask_restful import Api import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.logging import LoggingIntegration +from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration from resources import * from config import * @@ -30,7 +31,7 @@ if SENTRY_DSN: ) sentry_sdk.init( dsn=SENTRY_DSN, - integrations=[FlaskIntegration(), sentry_logging], + integrations=[FlaskIntegration(), sentry_logging, SqlalchemyIntegration()], traces_sample_rate=1.0, send_default_pii=True, release=RELEASE_ID,