Skip to content

Commit 69ea9ca

Browse files
authored
Merge pull request #1069 from closeio/andrzej/p1/set-sentry-sample-rate
Set Sentry sample rate to `0.1`
2 parents afa279f + f50b451 commit 69ea9ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inbox/error_handling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ def maybe_enable_sentry() -> None:
103103
dsn=SENTRY_DSN,
104104
environment=application_environment,
105105
release=os.environ.get("DEPLOYMENT_GIT_SHA", "unknown"),
106+
# TODO: Remove `sample_rate` once we've reduced the number
107+
# of errors sync-engine is reporting.
108+
sample_rate=0.1,
106109
integrations=[
107110
sentry_sdk.integrations.logging.LoggingIntegration(
108111
level=logging.INFO, # Capture INFO+

0 commit comments

Comments
 (0)