Skip to content

Commit 72845c0

Browse files
committed
feat(app.py): enable Sentry logging experiments for enhanced error tracking
Enable the Sentry logging experiments by adding the `_experiments` configuration with `enable_logs` set to `True`. This change allows for improved error tracking and logging capabilities by leveraging Sentry's logging features, which can provide more detailed insights into application behavior and issues.
1 parent 6fc835b commit 72845c0

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tux/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ def setup_sentry(self) -> None:
5656
send_default_pii=False,
5757
traces_sample_rate=1.0,
5858
profiles_sample_rate=1.0,
59+
_experiments={
60+
"enable_logs": True, # https://docs.sentry.io/platforms/python/logs/
61+
},
5962
)
6063

6164
# Add additional global tags

0 commit comments

Comments
 (0)