Added force full trace docs

This commit is contained in:
Bram Wiepjes committed 2024-09-02 20:00:22 +02:00
1 parent 2eb5fb3c48
commit e77535c172
1 file changed
+15 -1
+15 -1
View File
@@ -229,4 +229,18 @@ def create_row(table):
1
)
```
```
## traceidratio and force full trace
If you've set a tracer sampler using the `traceidratio`, then not every request will
have a full trace.
```
OTEL_TRACES_SAMPLER_ARG: "0.1"
OTEL_TRACES_SAMPLER: "traceidratio"
```
It can hold you back if you want to debug a specific request. We've therefore
implemented a query parameter that allows you to force a full trace. You can add
`?force_full_otel_trace=true` to any backend request to get a full trace back.