All Products
Search
Document Center

Simple Log Service:View the details of a trace

Last Updated:Feb 02, 2024

After you import trace data to Simple Log Service, you can view the trace data, including the trace map and span data.

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 the specific trace data.

  4. View the details of the trace.

    trace数据详情

    Label

    Description

    The trace map shows the entire trace and the distribution of spans. Take note of the following information:

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

    • The length of the black line in the trace map represents the time that is consumed by a span. The time consumed by a span is calculated based on the following formula: Time consumed by a span = Time consumed by all spans - Time consumed by child spans. Assume Span A calls Span B. Span A takes 10 milliseconds and Span B takes 8 milliseconds. In this case, Span A takes 2 milliseconds.

    • The timeline represents the time range of the trace.

    Each row in this section represents a span and shows the hierarchical relationship between the parent span and the child span. 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 defocus a span.

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

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

    • Call: the name of the API operation.

    • Property: the metadata of the span.

    • Resource: 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 log content that is related to the span.