norbi-update #1

Merged
tormakris merged 9 commits from norbi-update into master 2021-08-18 13:47:03 +02:00
Showing only changes of commit 2431812f09 - Show all commits

View File

@ -3,7 +3,6 @@ from flask import Flask
from flask_restful import Api from flask_restful import Api
import sentry_sdk import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
from healthcheck import HealthCheck from healthcheck import HealthCheck
from redis_client import redis_client from redis_client import redis_client
@ -35,7 +34,7 @@ __version__text__ = "1"
if Config.SENTRY_DSN: if Config.SENTRY_DSN:
sentry_sdk.init( sentry_sdk.init(
dsn=Config.SENTRY_DSN, dsn=Config.SENTRY_DSN,
integrations=[FlaskIntegration(), SqlalchemyIntegration()], integrations=[FlaskIntegration()],
traces_sample_rate=0.0, traces_sample_rate=0.0,
send_default_pii=True, send_default_pii=True,
release=Config.RELEASE_ID, release=Config.RELEASE_ID,