Queries the details of one or more traces.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
TraceIDs | array | Yes | The trace IDs. | |
string | Yes | The trace ID. You can specify one to nine trace IDs. You can log on to the Application Real-Time Monitoring Service (ARMS) console and obtain the trace ID on the Trace Query page. | ac1400a115951745017447033d**** | |
StartTime | long | No | The start time of the trace. The value is a timestamp. Unit: milliseconds. | 1657692507000 |
EndTime | long | No | The time when the trace ends. The value is a timestamp. Unit: milliseconds. | 1663999380000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2983BEF7-4A0D-47A2-94A2-8E9C5E63****",
"MultiCallChainInfos": [
{
"TraceID": "ac1400a115951745017447033d****",
"Spans": [
{
"SpanId": "1234",
"OperationName": "/demo/queryNotExistDB/11",
"ResultCode": "1",
"Timestamp": 1595174501747,
"RpcType": 0,
"ServiceIp": "172.20.XX.XX",
"HaveStack": true,
"ParentSpanId": "18",
"Duration": 11,
"RpcId": "0.1",
"ServiceName": "arms-k8s-demo-subcomponent",
"TraceID": "ac1400a115951745017447033d****",
"TagEntryList": [
{
"Key": "http.status.code",
"Value": "200"
}
],
"LogEventList": [
{
"Timestamp": 1595174501747,
"TagEntryList": [
{
"Key": "http.status.code",
"Value": "200"
}
]
}
]
}
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2023-12-21 | The internal configuration of the API is changed, but the call is not affected | see changesets | ||
|