ExploreHiTSDBInstanceDataTagKeyList

Updated at:
Copy as MD

Queries the tag key list of a TSDB instance for a specified metric.

Request parameters

ParameterTypeRequiredDescription
RegionIdStringYesThe region where the instance resides.
InstanceIdStringYesThe ID of the instance.
ReverseIpStringYesThe reverse VPC IP address of the instance.
ReversePortIntegerYesThe reverse VPC port of the instance.
MetricStringYesThe metric name.
PrefixStringYesThe prefix to filter tag keys.
MaxLongYesThe maximum number of tag keys to return.
None of the above parameters have default values.

Response elements

ParameterTypeDescription
TagKeyListListThe list of tag keys.
TagKeyStringA 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
}