Skip to content

Commit

Permalink
decrease sentry tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 31, 2024
1 parent 1c7dcbf commit 4e3125f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urban/custom_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
dsn=SENTRY_DSN,
integrations=integrations,
environment=os.getenv("SENTRY_ENVIRONMENT", "production"),
traces_sample_rate=float(os.getenv("SENTRY_TRACES_SAMPLE_RATE", 1.0)),
traces_sample_rate=float(os.getenv("SENTRY_TRACES_SAMPLE_RATE", 0.05)),
)

LOGGING["loggers"]["sentry_sdk"] = {"level": "ERROR", "handlers": ["console"], "propagate": False}

0 comments on commit 4e3125f

Please sign in to comment.