Queries the details of a trace.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TraceID | string | Yes | The unique ID of the trace. | 1c6881aab84191a4 |
AppType | string | No | The type of the application. You can set the value to XTRACE or leave this parameter unspecified. | XTRACE |
RegionId | string | Yes | The ID of the region. | cn-beijing |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1F******",
"Spans": {
"Span": [
{
"SpanId": "fec891bb8f8XXX",
"HaveStack": false,
"ServiceIp": "192.168.XXX.XXX",
"OperationName": "/api",
"ParentSpanId": "fec891bb8f8XXX",
"ResultCode": "200",
"Duration": 1000,
"RpcId": "1.1",
"Timestamp": 1689845513298000,
"ServiceName": "server1",
"TraceID": "1c6881aab84191a4****",
"TagEntryList": {
"TagEntry": [
{
"Key": "logLevel",
"Value": "Warning"
}
]
},
"LogEventList": {
"LogEvent": [
{
"Timestamp": 1583683202047000,
"TagEntryList": {
"TagEntry": [
{
"Key": "logLevel",
"Value": "Warning"
}
]
}
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history