Modifying a Tracker

Function

CTS allows you to modify configuration parameters of a created tracker, including parameters related to Transfer to OBS and Trace Analysis. You can also change tracker status by clicking Enable or Disable in the Operation column. Modifying tracker parameters does not affect the existing operation records. After the modification is complete, the system will immediately start recording operations based on the new rule.

URI

PUT /v1.0/{project_id}/tracker/{tracker_name}

The URI parameters are described in Table1 Parameters in the URI.
Table 1 Parameters in the URI

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

tracker_name

Yes

String

Tracker name. Currently, only one tracker is allowed for each tenant. The tracker name is system.

Request

Response

{
	"bucket_name" : "my_created_bucket",
	"tracker_name" : "system",
	"file_prefix_name" : "some_folder",
	"lts" : {
		"is_lts_enabled" : true,
		"log_group_name" : "CTS",
		"log_topic_name" : "system-trace"
	},
	"status" : "disabled"    
        "bucket_name" : "1214",    
        "tracker_name" : "system",    
}

Returned Value