Updated on 2025-10-31 GMT+08:00

Viewing a Trace

Scenario

Once enabled, CTS starts recording operations on CCI resources. Operation records of the last seven days can be viewed on the CTS console.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner to select the desired region.
  3. Click Service List and choose Management & Governance > Cloud Trace Service.
  4. In the navigation pane, choose Trace List.
  5. In the time range drop-down list in the upper left of the trace list, select a desired query time range: Last 1 hour, Last 1 day, or Last 1 week. You can also select Custom to specify a custom time range within the last seven days.
  6. On the Trace List page, use filters to query traces. You can combine one or more filters and then press Enter. Set basic information as follows:

    • Cloud Service: indicates the name and abbreviation of a cloud service. Select CCI.
    • Trace Name: indicates the name of a trace. For example, createPod indicates that a CCI pod is created.
    • Resource Name: indicates the name of the cloud resource involved in a trace. Set it to the CCI pod name.

      To obtain the CCI pod name, log in to the CCI 2.0 console, choose Workloads in the navigation pane, click the Pods tab, and view pod name.

    • Operator: Select one or more operators from the drop-down list.
    • Trace Status: Select normal, warning, or incident.
      • normal: The operation succeeded.
      • warning: The operation failed.
      • incident: The operation caused a fault that is more serious than a normal failure, for example, causing other faults.

  7. Click the trace name to view its details.

Querying CCI Pod Creation or Deletion Using CTS

You can query CCI pod operation events by trace name (for example, createPod or deletePod) and resource name (CCI pod name).

  1. Log in to the management console.
  2. Click in the upper left corner to select the desired region.
  3. Click Service List and choose Management & Governance > Cloud Trace Service.
  4. On the Trace List page, set filters to query operations.

    For example, if you want to know when a CCI pod was created or deleted, query all operations of this pod as follows:

    1. Set the time range.
    2. In the filter text box, select Resource Name, enter the CCI pod name, and press Enter.

      To obtain the CCI pod name, log in to the CCI 2.0 console, choose Workloads in the navigation pane, click the Pods tab, and view the pod name.

    3. In the filter text box, select Trace Name, and press Enter.

      Trace Name indicates the operation. For example, createPod indicates creating a CCI pod, and deletePod indicates deleting a CCI pod.