Skip to content

Commit

Permalink
Sentry sampling rate addition.
Browse files Browse the repository at this point in the history
  • Loading branch information
ABPLMC committed Apr 5, 2024
1 parent 0db638a commit 4e46b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/datalake_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

dsn = os.environ.get("SENTRY_DSN")
traces_sample_rate = \
float(os.environ.get("SENTRY_TRACES_SAMPLE_RATE"), None)
float(os.environ.get("SENTRY_TRACES_SAMPLE_RATE", None))
sentry_sdk.init(dsn=dsn,
integrations=[FlaskIntegration()],
traces_sample_rate=traces_sample_rate)
Expand Down

0 comments on commit 4e46b13

Please sign in to comment.