From 33b4d432486c1c9093613d5b3663bc4dca59bc09 Mon Sep 17 00:00:00 2001 From: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com> Date: Fri, 31 Oct 2025 11:12:24 -0400 Subject: [PATCH] [DOC] Add doc for critical path highlighting (#113194) --- .../visualizations/explore/trace-integration.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/sources/visualizations/explore/trace-integration.md b/docs/sources/visualizations/explore/trace-integration.md index 9a07f6ad18c..a4edd2a1ec5 100644 --- a/docs/sources/visualizations/explore/trace-integration.md +++ b/docs/sources/visualizations/explore/trace-integration.md @@ -42,7 +42,7 @@ For information on how to use the query editor to create queries for tracing dat ## Trace view -Grafana's trace view provides an overview of a request as it travels through your system. The following sections provide detail on various elements of the trace view. +The trace view provides an overview of a request as it travels through your system. The following sections provide detail on various elements of the trace view. {{< figure src="/media/docs/tempo/screenshot-grafana-trace-view.png" class="docs-image--no-shadow" max-width= "900px" caption="Trace view" >}} @@ -76,6 +76,14 @@ Click anywhere on the span row to reveal span details. {{< figure src="/media/docs/tempo/screenshot-grafana-trace-view-timeline.png" class="docs-image--no-shadow" max-width= "900px" caption="Trace view timeline" >}} +The **Span duration bar** highlights the trace’s critical path with a darker segment. This darker segment means the span lies on the trace’s critical path, following the CRISP (Critical Path for Service Performance) algorithm. + +Use the highlight to focus on spans that drive end‑to‑end latency. Spans outside the critical path do not increase the trace duration. + +{{< figure src="/media/docs/grafana/explore/traces-panel-critical-path.png" class="docs-image--no-shadow" max-width= "900px" caption="Critical path span" >}} + +You can also focus on this path by clicking the **Show critical path only** button in the **Span filters** options. + ### Span details Traces are composed of one or more spans. @@ -130,9 +138,6 @@ To only show the spans you have matched, toggle **Show matches only**. Refer to [Span filters](/docs/grafana//datasources/tempo/span-filters/) for more in depth information. -Watch the following video to learn more about filtering trace spans in Grafana: -{{< youtube id="VP2XV3IIc80" >}} - ### Trace to logs You can navigate from a span in a trace view directly to logs relevant for that span.