From be77510ec4d1ca3846c5b6bd4e6b45c70f23114c Mon Sep 17 00:00:00 2001 From: John Pizzo Date: Fri, 15 Nov 2024 15:39:06 -0500 Subject: [PATCH] Update TRACE_SAMPLING_RATE docs in router/configuration.md --- router/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/configuration.md b/router/configuration.md index c565b07..d6d75b9 100644 --- a/router/configuration.md +++ b/router/configuration.md @@ -284,7 +284,7 @@ telemetry: ### Tracing -
Environment VariableYAMLRequiredDescriptionDefault Value
TRACING_ENABLEDenabledfalsetrue
TRACING_SAMPLING_RATEsampling_ratetrueThe sampling rate for the traces. The value must be between 0 and 1. If the value is 0, no traces will be sampled. If the value is 1, all traces will be sampled.1
TRACING_PARENT_BASED_SAMPLERparent_based_samplertrueEnable the parent-based sampler. The parent-based sampler is used to sample the traces based on the parent trace.true
TRACING_BATCH_TIMEOUTfalseThe maximum delay allowed before spans are exported.10s
TRACING_EXPORT_GRAPHQL_VARIABLESexport_graphql_variablesfalseExport GraphQL variables as span attribute. Variables may contain sensitive data.false
with_new_rootfalseStarts the root span always at the router.false
+
Environment VariableYAMLRequiredDescriptionDefault Value
TRACING_ENABLEDenabledfalsetrue
TRACING_SAMPLING_RATEsampling_ratetrueThe sampling rate for the traces. The value must be between 0 and 1. If the value is 0, no traces will be sampled. If the value is 1, all traces will be sampled. For managed plans the trace sampling rate will not exceed the rate imposed by the organization limit of the plan.1
TRACING_PARENT_BASED_SAMPLERparent_based_samplertrueEnable the parent-based sampler. The parent-based sampler is used to sample the traces based on the parent trace.true
TRACING_BATCH_TIMEOUTfalseThe maximum delay allowed before spans are exported.10s
TRACING_EXPORT_GRAPHQL_VARIABLESexport_graphql_variablesfalseExport GraphQL variables as span attribute. Variables may contain sensitive data.false
with_new_rootfalseStarts the root span always at the router.false
#### Example YAML config: