Skip to content

Commit

Permalink
Upgrade Sentry-SDK and enable additional integratoins (getredash#4127)
Browse files Browse the repository at this point in the history
* Update sentry-sdk version

* Add additional Sentry integrations
  • Loading branch information
arikfr authored and harveyrendell committed Nov 14, 2019
1 parent 7eaeb31 commit 3ada213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion redash/utils/sentry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations.celery import CeleryIntegration
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
from sentry_sdk.integrations.redis import RedisIntegration
from redash import settings, __version__


Expand All @@ -23,5 +25,5 @@ def init():
release=__version__,
before_send=before_send,
send_default_pii=True,
integrations=[FlaskIntegration(), CeleryIntegration()]
integrations=[FlaskIntegration(), CeleryIntegration(), SqlalchemyIntegration(), RedisIntegration()]
)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RestrictedPython==3.6.0
pysaml2==4.5.0
pycrypto==2.6.1
funcy==1.7.1
sentry-sdk==0.7.2
sentry-sdk==0.11.2
semver==2.2.1
xlsxwriter==0.9.3
pystache==0.5.4
Expand Down

0 comments on commit 3ada213

Please sign in to comment.