All Products
Search
Document Center

Managed Service for OpenTelemetry:Trace Explorer

Last Updated:Mar 10, 2026

When diagnosing latency spikes or tracking down errors across distributed services, you need a way to filter, aggregate, and inspect trace data efficiently. Trace Explorer combines real-time filtering with aggregation dimensions to help you pinpoint performance bottlenecks, identify error patterns, and understand request flows across your applications.

Prerequisites

Your application data is reported to Managed Service for OpenTelemetry. For setup instructions, see Integrate services or components.

Filter traces

  1. Log on to the Managed Service for OpenTelemetry console. In the left-side navigation pane, click Applications.

  2. On the Applications page, select a region in the top navigation bar and click the application name.

  3. Click the Trace Explorer tab.

  4. In the upper-right corner, specify the time range.

  5. Add filter conditions using any of the following methods:

    • Quick Filter: Filter traces by status, duration, application name, span name, or host address. Selected conditions appear in the search bar.

    • Drop-down filter panel: Click the search bar to open the panel. Modify existing conditions or add custom ones. Drop-down filter panel

    • Query statement: Enter a query directly in the search bar. For syntax details, see Usage methods of Trace Explorer.

Save and reuse filter conditions

ActionSteps
Save current filters as a viewClick the Save icon to the right of the Aggregation Dimension drop-down list.
Load a saved viewClick Saved View and select the view.
Group results by dimensionSelect an aggregation dimension from the drop-down list.

View trace results

After you apply filters, the matched trace data appears on the Trace Explorer tab. Results include:

  • Column charts of span counts and HTTP errors

  • Time series curves of response time

  • A span list

Span data

Span list actions

ActionHow to
View trace detailsClick Details in the Actions column. See Trace details.
View trace-related logsClick Logs in the Actions column.
Show or hide columnsClick the Settings icon in the upper-right corner.
Add attribute as a filterHover over a span and click the Filter icon to add the span's attribute values as a filter condition.
Add filter condition

Identify outliers with the scatter chart

The Scatter plot tab plots each trace as a point, with time on the X axis and response time on the Y axis. This visualization helps you spot outlier traces with unusually high latency.

  • Hover over a point to view basic trace information.

  • Click a point to view the full call details.

Scatter chart

Analyze traces with aggregation

Trace Explorer filters analyze individual spans. For analysis across complete distributed traces, use trace aggregation. It queries up to 5,000 distributed traces matching your conditions, retrieves all spans by trace ID, and aggregates the results while preserving trace integrity.

Note

Aggregate queries run on full trace data. With multiple conditions, computation may take longer.

Trace aggregation

Aggregation parameters

ParameterDescription
spanNameName of the span.
serviceNameApplication that produced the span.
Number of requests / percentage of requestsRatio of requests that call this span to total requests. Formula: Requests calling this span / Total requests x 100%.
span / Request MultipleAverage number of times each request calls this span. Formula: Total span count / Request count.
Average self-consumption / proportionAverage self-time of the span, excluding time spent in child spans. Formula: Total span duration - Duration of all child spans.
Important

For asynchronous calls, self-time equals the total span duration.

Average DurationAverage duration of the span.
Number of exceptions / percentage of exceptionsRatio of requests with exceptions to total requests. Formula: Requests with exceptions / Total requests.
Important

The number of requests with exceptions differs from the total number of exceptions. If the request multiple is greater than 1, a single request may contain multiple exceptions.

Example: reading aggregation data

Span A calls Span B and Span C. The following table shows the aggregation results.

spanNameserviceNameRequests / %span / MultipleAvg self / %Avg DurationExceptions / %
Ademo10 / 100.00%10 / 1.005.00 ms / 25.00%20 ms2 / 20.00%
- Bdemo4 / 40.00%8 / 2.0016.00 ms / 100.00%16 ms2 / 50.00%
- Cdemo1 / 10.00%1 / 1.004.00 ms / 100.00%4 ms1 / 100.00%

Request distribution: All 10 requests call Span A (100%). Only 4 of those requests call Span B (40%), and only 1 calls Span C (10%). The remaining requests skip Span B and Span C due to conditional logic or exceptions.

Span multiplicity: Span A is called once per request (multiple = 1.00). Span B has 8 spans across 4 requests, so each request calls Span B twice on average (multiple = 2.00).

Self-time distribution: Span A's average self-time is 5.00 ms (25% of its 20 ms total duration), because the remaining 75% is spent in child spans B and C. Span B and Span C have self-time equal to their total duration (100%) because they have no child spans.

Exception distribution: Span A has 2 exceptions across 10 requests (20%). Span B has 2 exceptions across 4 requests (50%). Since each request calls Span B twice, the likely distribution is: 2 of the 4 requests encounter an exception on the first call, but the second call succeeds.

Note

To view a specific trace, hover over the blue span name and click the recommended trace ID.

View trace topology

The Full Link Topology tab shows the service-to-service call topology of aggregated traces. Each node represents an application with its request count, error count, and response time.

Trace topology

Trace details

The trace detail view has four sections:

Trace details

Section 1: Component tags

Tags group spans by call type, defined by the attributes.component.name field. Each tag shows the call type and span count. Click a tag to show or hide the related spans.

Section 2: Trace bar chart

The bar chart provides an overview of the entire trace and its span distribution.

ElementDescription
BarEach bar represents a span. Only spans whose duration exceeds 1% of the total trace duration are shown.
ColorDifferent colors distinguish different applications. For example, blue represents the opentelemetry-demo-adservice application.
Black lineRepresents the span's self-time: the total span duration minus time spent in child spans. For example, if Span A takes 10 ms and its child Span B takes 8 ms, Span A's self-time is 2 ms.
TimelineShows the full time range of the trace.

Section 3: Trace focus and filtering

Each row represents a span, arranged in a parent-child hierarchy. A number before each parent span indicates its child span count.

OperationDescription
CollapseClick the Collapse icon to collapse or expand a span and its children.
FocusSelect a span and click the Focus icon to display only that span and its downstream spans.
DefocusClick the Defocus icon to restore the full trace view.
FilterEnter a span name, application name, or attribute in the search box to show the path from the matched span to the entry span. To clear the filter, delete the search text and click the Search icon.
Zoom in and outClick the Zoom in icon to zoom in and hide the bar chart. Click the Zoom out icon to restore the bar chart.

Section 4: Span details

The span details panel shows detailed information about the selected span, including related metrics, logs, and exceptions. It also supports custom interaction events.

TabDescription
Additional InformationLists span attributes, resources, details, and events, grouped by type. For field descriptions, see Trace Explorer parameters.
MetricsShows metrics related to the span. For Java applications monitored by ARMS: JVM and host metrics. For traces reported by open source agents: RED Method metrics (rate, errors, duration).
LogsShows business logs related to the trace. If a Simple Log Service (SLS) Logstore is configured for the application, query business logs by trace ID in the Logstore.
ExceptionsShows exception information recorded for the span, if any.
Event ConfigConfigure custom interaction events for one or more trace attributes. Use interaction events to query additional trace details or view related logs and metrics. For more information, see Configure a custom interaction event for a trace.
Span metrics

What to do next

Set up alert rules to get notified when specific errors occur, so your Operations & Maintenance (O&M) team can respond quickly. For more information, see Create an alert rule.