All Products
Search
Document Center

Application Real-Time Monitoring Service:GetTagVal

Last Updated:Jul 24, 2024

Queries the tag values that correspond to a tag key.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region.

cn-beijing
ServiceNamestringNo

The name of the application.

appTest
SpanNamestringNo

The name of the span.

createOrder
TagKeystringYes

The tag key.

span.kind
StartTimelongNo

The timestamp of the start time of the time range to query. The timestamp is accurate to milliseconds.

1575561600000
EndTimelongNo

The timestamp of the end time of the time range to query. The timestamp is accurate to milliseconds.

1575622455686

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1E2B6A4C-6B83-4062-8B6F-AEEC1F******
TagValuesarray

The tag values.

string

The tag values.

{"TagValue":["server"]}

Examples

Sample success responses

JSONformat

{
  "RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1F******",
  "TagValues": {
    "TagValue": [
      "{\"TagValue\":[\"server\"]}"
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history