Skip to content

Commit

Permalink
Enable DB Query Source in Flask
Browse files Browse the repository at this point in the history
  • Loading branch information
serglom21 authored Jan 5, 2024
1 parent 7b71b69 commit 636cae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ pg8000==1.12.5
psycopg2-binary==2.9.7
python-dotenv==0.12.0
pytz==2020.4
sentry-sdk==1.38.0
sqlalchemy==1.3.15
sentry-sdk==1.39.1
sqlalchemy==1.3.15
1 change: 1 addition & 0 deletions flask/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def __init__(self, import_name, *args, **kwargs):
traces_sample_rate=1.0,
before_send=before_send,
traces_sampler=traces_sampler,
enable_db_query_source=True,
_experiments={
"enable_metrics": True,
"profiles_sample_rate": 1.0
Expand Down

0 comments on commit 636cae9

Please sign in to comment.