Updated on 2024-12-24 GMT+08:00

Viewing Traces

Scenarios

CTS records the operations performed on NAT Gateway and allows you to view the operation records of the last seven days on the CTS console. This topic describes how to query these records.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Under Management & Governance, click Cloud Trace Service.
  4. In the navigation pane on the left, choose Trace List.
  5. Specify the filters used for querying traces. The following filters are available:
    • Trace Type, Trace Source, Resource Type, and Search By

      Select a filter from the drop-down list.

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

      If you select Resource ID for Search By, select or enter a specific resource ID.

      If you select Resource name for Search By, select or enter a specific resource name.

    • Operator: Select a specific operator (at the user level rather than the tenant level).
    • Trace Status: Available options include All trace statuses, normal, warning, and incident. You can only select one of them.
    • Time range: You can query traces generated at any time range of the last seven days.
  6. Click on the left of the required trace to expand its details.
    Figure 1 Expanding trace details
  7. Click View Trace in the Operation column to view trace details.
    Figure 2 View Trace

    For details about key fields in the trace, see section "Trace Structure" in Cloud Trace Service User Guide.