From 1b56aadcc8f2ec2c79c3296b50faf5220a92740a Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 12 Oct 2023 10:59:02 -0700 Subject: [PATCH] docs(sentry): describe SENTRY_TRACES_SAMPLE_RATE --- docs/configuration/settings.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/configuration/settings.md b/docs/configuration/settings.md index 7ce2da60..10884713 100644 --- a/docs/configuration/settings.md +++ b/docs/configuration/settings.md @@ -161,3 +161,13 @@ Enables sending events to Sentry. [`environment` config value](https://docs.sentry.io/platforms/python/configuration/options/#environment) Segments errors by which deployment they occur in. This defaults to `local`, and can be set to match one of the environment names. + +### `SENTRY_TRACES_SAMPLE_RATE` + +!!! tldr "Sentry docs" + + [`traces_sample_rate` config value](https://docs.sentry.io/platforms/python/configuration/options/#traces-sample-rate) + +Control the volume of transactions sent to Sentry. Value must be a float in the range `[0.0, 1.0]`. + +The default is `0.0` (i.e. no transactions are tracked).