Retrieves the tag value for a specified tag key from reported trace data.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
xtrace:SearchTrace |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| ServiceName |
string |
No |
The service name, also known as the application name. |
appTest |
| SpanName |
string |
No |
The span name, also known as the operation name. |
createOrder |
| TagKey |
string |
Yes |
The tag key. To get TagKey, see GetTagKey. |
span.kind |
| StartTime |
integer |
No |
The start time, in milliseconds (ms). Important This field is of type Long. Precision loss may occur during serialization or deserialization. Make sure the value does not exceed 9007199254740991. |
1575561600000 |
| EndTime |
integer |
No |
The end time, in milliseconds (ms). Important This field is of type Long. Precision loss may occur during serialization or deserialization. Make sure the value does not exceed 9007199254740991. |
1575622455686 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1E2B6A4C-6B83-4062-8B6F-AEEC1F****** |
| TagValues |
object |
||
| TagValue |
array |
||
|
string |
The list of tag values. |
{"TagValue":["server"]} |
Examples
Success response
JSON format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1F******",
"TagValues": {
"TagValue": [
"{\"TagValue\":[\"server\"]}"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.