Облачная платформаAdvanced

Overview

Эта статья полезна?
Язык статьи: Английский
Перевести

Scenarios

If you log in to Cloud Trace Service (CTS) for the first time, click Enable CTS on the Tracker List page. A management tracker named system will be automatically created. Then you can create data trackers on this page. The management tracker identifies and associates with all cloud services your tenant account is using, and records all operations of your tenant account. Data trackers record details of the tenant's operations on data in Object Storage Service (OBS) buckets.

You can only query operation records of the last seven days on the CTS console. To query operation records older than seven days, store trace files in an OBS bucket or Log Tank Service (LTS) log stream. Before enabling CTS, you need to enable OBS and LTS and ensure that you have full permissions to use the target OBS bucket and LTS log stream. By default, the service owner who has enabled OBS can access their own OBS bucket and objects in it. The service owner can also grant access permissions to other services and users by setting access policies.

Prerequisites

  • To configure the trace transfer function, you must enable OBS and LTS.
  • To enable the key event notification function, you must enable Simple Message Notification (SMN).

Associated Services

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

Enabling CTS for the First Time

  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 and click Enable CTS in the upper right corner. A management tracker named system will be automatically created.

    Note

    The management tracker logs user operations like creation, login, and deletion on all cloud service resources. For details about cloud services supported by CTS, see Supported Services and Operations.

  4. Create trackers (data trackers only). Data trackers record details of the tenant's operations on data in OBS buckets.
  5. Choose Tracker List in the navigation pane and check operation records of the last seven days.

CTS Features

  • Trace recording: CTS records system-triggered operations and operations performed on the management console or by calling APIs.
  • Trace query: You can query operation records of the last seven days on the CTS console using filters such as trace type, trace source, resource type, filter, operator, and trace status.
  • Trace transfer: CTS compresses traces into trace files by service and periodically transfers them to OBS buckets or LTS log streams.
  • Key event notification: SMN sends messages to users' mobile phones or email addresses when specific operations are performed.