How CTS Functions
Cloud Trace Service (CTS) interconnects directly with other cloud services of HUAWEI CLOUD and records operations performed on cloud resources and operation results in real time. It delivers records in the form of trace files to Object Storage Service (OBS) buckets.
After CTS is enabled, the associated tracker can track the trace files generated. If OBS is enabled, trace files will be stored in the OBS bucket that you have created.
You can perform two types of operations on a trace file:
- Trace file creation and storage
- When you perform adding, deleting, or modifying operations on services interconnected with CTS, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), and Image Management Service (IMS), the target services will record the operations and their results automatically and deliver them in the form of trace files to CTS for archiving.
- Operation records of the last seven days are displayed on the CTS console. If OBS has been enabled, operation records are periodically delivered to the OBS bucket that you have specified for long-term storage.
- Trace file query
- You can query operation records of the last seven days on the Trace List page by filter or time.
- To query operation records earlier than seven days, you can download the trace files stored in OBS buckets if the OBS service has been enabled.
- You can enable, disable, configure, or delete a tracker on the Tracker page.
For example, if you create an image using the IMS service, the service will report the creation operation to CTS. Then, CTS will deliver the trace to an OBS bucket for storage if OBS has been enabled. You can view trace files in the trace list. Figure 1 shows the working principle of CTS.