From 6a9898a99ee1037bffb12ea572f13c2d7ae9fd29 Mon Sep 17 00:00:00 2001 From: fernandorodriguezcdatadog <165071294+fernandorodriguezcdatadog@users.noreply.github.com> Date: Fri, 26 Dec 2025 14:09:53 -0600 Subject: [PATCH] Update trace_queries.md Example says "Traces for which the end-to-end execution time is more than 5 seconds" but code says "trace_duration:>2s", so changing the second number to make both match at 5 seconds. --- content/en/tracing/trace_explorer/trace_queries.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/tracing/trace_explorer/trace_queries.md b/content/en/tracing/trace_explorer/trace_queries.md index a8088d59a61..c58b8ea0d7f 100644 --- a/content/en/tracing/trace_explorer/trace_queries.md +++ b/content/en/tracing/trace_explorer/trace_queries.md @@ -63,7 +63,7 @@ Filter the result set of traces further by applying filters on trace-level attri |-----|-----|-----| | `span_count(a)` | Number of occurrences of a span | Traces that contain more than 10 calls to a mongo database:
- **queryA**:`service:web-store-mongo @db.statement:"SELECT * FROM stores`
- **Traces matching**:`a`
- **Where**:`span_count(a):>10`| | `total_span_count` | Number of spans in the trace | Traces that contain more than 1000 spans:
**Where**`total_span_count:>1000` | -| `trace_duration` | End to end trace duration | Traces for which the end-to-end execution time is more than 5 seconds :
**Where**:`trace_duration:>2s` | +| `trace_duration` | End to end trace duration | Traces for which the end-to-end execution time is more than 5 seconds :
**Where**:`trace_duration:>5s` | ## Flow Map @@ -128,4 +128,4 @@ Trace-level retention filters are configurable. Use a filter query to target spa [3]: /tracing/trace_pipeline/trace_retention/#datadog-intelligent-retention-filter [4]: /tracing/trace_pipeline/trace_retention/#one-percent-flat-sampling [5]: /tracing/trace_pipeline/trace_retention/#diversity-sampling -[6]: /tracing/trace_pipeline/trace_retention/#create-your-own-retention-filter \ No newline at end of file +[6]: /tracing/trace_pipeline/trace_retention/#create-your-own-retention-filter