diff --git a/docs/sources/tempo/configuration/_index.md b/docs/sources/tempo/configuration/_index.md index ce2fe14b154..0c9bdecfac5 100644 --- a/docs/sources/tempo/configuration/_index.md +++ b/docs/sources/tempo/configuration/_index.md @@ -661,6 +661,12 @@ query_frontend: # 0 disables this limit. [max_duration: | default = 3h ] + # Maximun number of exemplars per range query. Limited to 100. + [max_exemplars: | default = 100 ] + + # It enable or disable exemplars for range queries. + [exemplars: | default = false ] + # query_backend_after controls where the query-frontend searches for traces. # Time ranges older than query_backend_after will be searched in the backend/object storage only. # Time ranges between query_backend_after and now will be queried from the metrics-generators. @@ -677,6 +683,7 @@ query_frontend: # If set to a non-zero value, it's value will be used to decide if query is within SLO or not. # Query is within SLO if it returned 200 within duration_slo seconds OR processed throughput_slo bytes/s data. [throughput_bytes_slo: | default = 0 ] + ``` ## Querier diff --git a/docs/sources/tempo/traceql/metrics-queries.md b/docs/sources/tempo/traceql/metrics-queries.md index 086a5207b13..0785708132f 100644 --- a/docs/sources/tempo/traceql/metrics-queries.md +++ b/docs/sources/tempo/traceql/metrics-queries.md @@ -37,7 +37,7 @@ Exemplars are a powerful feature of TraceQL metrics. They allow you to see an exact trace that contributed to a given metric value. This is particularly useful when you want to understand why a given metric is high or low. -Exemplars are available in TraceQL metrics for all functions. +Exemplars are available in TraceQL metrics for all functions. Only for range queries. To get exemplars, you need to configure it in the query-frontend with the parameter `query_frontend.metrics.exemplars`, or pass a query hint in your query.