Querying a Tracker

Function

This API is used to query the details of a tracker. The details include the name of the tracker, name of the OBS bucket for storing traces, and prefix of the trace files stored in the OBS bucket.

URI

GET /v1.0/{project_id}/tracker?tracker_name={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

No

String

Tracker name.

If this parameter is not specified, all trackers will be queried.

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

It is expected that CTS can support multiple trackers in the future. In this case, if you send a request where the parameter tracker_name is not specified (GET /v1.0/{project_id}/tracker), the response will be in array format. Otherwise, the response will be in object format.

Request

Response

Returned Value