Tracing in Explore

    Supported data sources are:

    For information on how to configure queries for the data sources listed above, refer to the documentation for specific data source.

    Tracing in Explore - 图2

    Header

    Tracing in Explore - 图4

    • Header title: Shows the name of the root span and trace ID.
    • Search: Highlights spans containing the searched text.
    • Metadata: Various metadata about the trace.
    Minimap

    Tracing in Explore - 图6

    Shows condensed view or the trace timeline. Drag your mouse over the minimap to zoom into smaller time range. Zooming will also update the main timeline, so it is easy to see shorter spans. Hovering over the minimap, when zoomed, will show Reset Selection button which resets the zoom.

    Timeline

    Shows list of spans within the trace. Each span row consists of these components:

    • Service name: Name of the service logged the span.
    • Operation name: Name of the operation that this span represents.
    • Span duration bar: Visual representation of the operation duration within the trace.

    Clicking anywhere on the span row shows span details.

    Span details

    Tracing in Explore - 图10

    • Operation name
    • Span metadata
    • Tags: Any tags associated with this span.
    • Process metadata: Metadata about the process that logged this span.
    Node graph

    You can optionally expand the node graph for the displayed trace. Depending on the data source, this can show spans of the trace as nodes in the graph, or as some additional context like service graph based on the current trace.

    Trace to logs

    You can navigate from a span in a trace view directly to logs relevant for that span. This is available for Tempo, Jaeger, and Zipkin data sources at this moment. Refer to their relevant documentation for instructions on how to configure this feature.

    Click the document icon to open a split view in Explore with the configured data source and query relevant logs for the span.

    This visualization needs a specific shape of the data to be returned from the data source in order to correctly display it.

    Data source needs to return data frame and set .

    Required fields:

    Optional fields:

    Field nameTypeDescription
    logsTraceLog[]List of logs associated with the current span.
    tagsTraceKeyValuePair[]List of tags associated with the current span.
    warningsstring[]List of warnings associated with the current span.
    stackTracesstring[]List of stack traces associated with the current span.
    errorIconColorstringColor of the error icon in case span is tagged with .

    For details about the types see , TraceKeyValuePair and