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,