All Products
Search
Document Center

Managed Service for OpenTelemetry:Query traces

Last Updated:Mar 10, 2026

When troubleshooting latency or errors in distributed applications, you need to locate specific traces across multiple services. The Advanced Query page in Managed Service for OpenTelemetry lets you filter traces by trace ID, duration, application, span name, or custom tags to pinpoint the root cause.

Prerequisites

Before you begin, make sure that you have:

  • Access to the Tracing Analysis console

  • At least one application reporting trace data to Managed Service for OpenTelemetry

For setup instructions, see Preparations.

Query traces from the Advanced Query page

  1. Log on to the Managed Service for OpenTelemetry console.

  2. In the left-side navigation pane, click Advanced Query.
  3. On the Advanced Query page, configure the query parameters and click Search.

    Required parameters

    ParameterDescription
    TraceIDThe unique identifier of a trace. Specify this value to locate a specific trace directly.
    Takes Longer Than (ms)The minimum duration threshold in milliseconds. Only traces that exceed this value are returned. Use this to find slow requests.
    DateThe time range for the query.
    Application NameThe application that generated the trace.
    Span NameThe name of the span to search for within the trace.

    Optional parameter: Tag Key

    To narrow results by custom tags:

    1. Enter a key in the Tag Key field.

    2. Enter the corresponding value in the Tag Value field.

    3. To add more tag filters, click the blue plus sign (+) to the right of the Tag Value field.

  4. In the search results, click a trace ID to open the Traces tab and view the trace details.

Save a query for reuse

Save frequently used query configurations for quick access. A saved query retains the parameter values you configured.

  • To save the current query, click Favorite and specify an alias.

  • To delete a saved query, click the Delete icon to the right of the configuration alias.