Updated on 2024-06-19 GMT+08:00

Overview

Scenarios

You need to enable CTS before using it. A management tracker named system is automatically created when CTS is enabled. All traces recorded by CTS are associated with the tracker.

Trace files must be stored in Object Storage Service (OBS) buckets or Log Tank Service (LTS) log streams. Ensure that you have enabled OBS and LTS and have full permissions for the OBS bucket and LTS log stream you are going to use. By default, only the owner of OBS buckets can access the buckets and all objects contained in the buckets, but the owner can grant access permissions to other services and users by configuring access policies.

Associated Services

  • OBS: used to store trace files.

    You must select a standard OBS bucket because CTS needs to frequently access the OBS bucket that stores traces.

  • LTS: stores logs.
  • SMN: Sends email or SMS message notifications to users when key operations are performed.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Management & Deployment > Cloud Trace Service. The CTS console is displayed.
  3. Choose Tracker List in the navigation pane on the left.
  4. Click Enable CTS.
  5. In the displayed dialog box, click Enable. A tracker is automatically created.

You can view the tracker information on the Tracker List page.

The tracker records operations on cloud resources performed by the tenant who creates the tracker. For details about the cloud services supported by CTS, see Supported Services and Operations.