Viewing Traces

Scenarios

After you enable CTS and the management tracker is created, CTS starts recording operations on cloud resources. Cloud Trace Service (CTS) stores operation records (traces) generated in the last seven days.

Note

These operation records are retained for seven days on the CTS console and are automatically deleted upon expiration. Manual deletion is not supported.

Viewing Real-Time Traces

  1. Log in to the management console.

  2. Click image1 in the upper left corner and choose Management & Deployment > Cloud Trace Service. The CTS console is displayed.

  3. Choose Trace List in the navigation pane on the left.

  4. Set filters to search for your desired traces, as shown in Figure 1. The following filters are available.

    **Figure 1** Filters

    Figure 1 Filters

    • Trace Type, Trace Source, Resource Type, and Search By: Select a filter from the drop-down list.

      • If you select Resource ID for Search By, specify a resource ID.

      • If you select Trace name for Search By, specify a trace name.

      • If you select Resource name for Search By, specify a resource name.

    • Operator: Select a user.

    • Trace Status: Select All trace statuses, Normal, Warning, or Incident.

    • Time range: Select Last 1 hour, Last 1 day, or Last 1 week, or specify a custom time range within the last seven days.

  5. Click Query.

  6. On the Trace List page, you can also export and refresh the trace list.

    • Click Export to export all traces in the query result as a CSV file. The file can contain up to 5,000 records.

    • Click image2 to view the latest information about traces.

  7. Click image3 on the left of a trace to expand its details.

    image4

  8. Click View Trace in the Operation column. The trace details are displayed.

    image5

  9. For details about key fields in the trace structure, see section "Trace References" > "Trace Structure" and section "Trace References" > "Example Traces" in the CTS User Guide.