Skip to content

Commit 164a909

Browse files
committed
docs(sentry): describe traces sample rate setting
1 parent afca263 commit 164a909

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/configuration/environment-variables.md

+10
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,15 @@ Collect information on Content-Security-Policy (CSP) violations. Read more about
187187

188188
To enable report collection, set this env var to the authenticated Sentry endpoint.
189189

190+
### `SENTRY_TRACES_SAMPLE_RATE`
191+
192+
!!! tldr "Sentry docs"
193+
194+
[`traces_sample_rate`](https://docs.sentry.io/platforms/python/configuration/sampling/#configuring-the-transaction-sample-rate)
195+
196+
Control the volume of transactions sent to Sentry. Value must be a float in the range `[0.0, 1.0]`.
197+
198+
The default is `0.0` (i.e. no transactions are tracked).
199+
190200
[app-service-config]: https://docs.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal
191201
[getting-started_create-env]: ../getting-started/README.md#create-an-environment-file

0 commit comments

Comments
 (0)