Skip to content

Commit

Permalink
update python-sdk to 1.4.0 to fix query-source (now on by default) (#390
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ndmanvar authored Jan 31, 2024
1 parent 21a5c97 commit 90a764f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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.39.2
sqlalchemy==1.3.15
sentry-sdk==1.40.0
sqlalchemy==1.3.15
3 changes: 1 addition & 2 deletions flask/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ 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 Expand Up @@ -273,7 +272,7 @@ def sentry_event_context():
else:
# sometimes this is the only way to propagate, e.g. when requested through a dynamically
# inserted HTML tag as in case with (un)compressed_assets
se = request.args.get('se')
se = request.args.get('se')
if se not in [None, "undefined"]:
sentry_sdk.set_tag("se", se)

Expand Down

0 comments on commit 90a764f

Please sign in to comment.