ExploreHiTSDBInstanceDataTagKeyList
Updated at:
Copy as MD
Queries the tag key list of a TSDB instance for a specified metric.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| RegionId | String | Yes | The region where the instance resides. |
| InstanceId | String | Yes | The ID of the instance. |
| ReverseIp | String | Yes | The reverse VPC IP address of the instance. |
| ReversePort | Integer | Yes | The reverse VPC port of the instance. |
| Metric | String | Yes | The metric name. |
| Prefix | String | Yes | The prefix to filter tag keys. |
| Max | Long | Yes | The maximum number of tag keys to return. |
None of the above parameters have default values.
Response elements
| Parameter | Type | Description |
|---|---|---|
| TagKeyList | List | The list of tag keys. |
| TagKey | String | A tag key of the data. |
Examples
Sample response
{
"code": "200",
"data": {
"RequestId": "5EE70BFD-A272-417C-A6C2-37F081A49FE3",
"TagKeyList": [
{"TagKey":"hostname"},
{"TagKey":"color"},
{"TagKey":"category"},
{"TagKey":"location"}
]
},
"requestId": "5EE70BFD-A272-417C-A6C2-37F081A49FE3",
"successResponse": true
}Is this page helpful?