All Products
Search
Document Center

Simple Log Service:View trace data details

Last Updated:Apr 10, 2024

After you import trace data to Simple Log Service, you can view the details of the trace data, such as the trail map and spans.

Procedure

  1. Log on to the Simple Log Service console.

  2. Open the Trace Analysis page.

    1. In the Log Application section, click Trace Service.

    2. In the trace instance list, click the specified instance.

    3. In the left-side navigation bar, click Trace Analysis.

  3. On the Trace Analysis tab, click View Trace Details.

    trace数据详情

    No.

    Description

    The trail map shows the entire trace and the distribution of spans.

    • Different colors represent different services. In this example, the blue color represents the front-end service.

    • The length of a black line in the trail map represents the self-time of a span. The self-time of a span is calculated by using the following formula: Time consumed by the span - Time consumed by child spans. For example, Span A calls Span B. Span A consumes 10 milliseconds, and Span B consumes 8 milliseconds. In this example, the self-time of Span A is 2 milliseconds.

    • The timeline represents the time range of the trace.

    Each line in this section represents a span. This section also displays the hierarchical relationships between parent spans and child spans. Each parent span is preceded by a number, which indicates the number of child spans owned by the parent span. In this section, you can perform the following operations:

    • Click the 标号 icon to collapse or expand a span.

    • Select a span and click the 聚合 icon. The system displays only the data of the span.

    • Click the 取消聚集 icon to display the data of all spans.

    When you click a span, the following information is displayed:

    • Service: the name of the service to which the span belongs.

    • Operations: the name of the operation.

    • Properties: the metadata of the span.

    • Resources: the resources that must be called to generate the span.

    • Details: the details of the span. For more information about field descriptions, see Trace data formats.

    • Log: the logs that are related to the span.