Retrieves the details of multiple traces.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:GetMultipleTrace |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| TraceIDs |
array |
Yes |
The list of trace IDs. |
ac1400a115951745017447033d**** |
|
string |
No |
The trace ID. You must specify at least one and at most nine trace IDs. You can obtain the trace IDs on the Trace Query page in the ARMS console. |
ac1400a115951745017447033d**** |
|
| StartTime |
integer |
Yes |
The timestamp when the trace starts, in milliseconds. |
1657692507000 |
| EndTime |
integer |
Yes |
The timestamp when the trace ends, in milliseconds. |
1663999380000 |
| PageNumber |
integer |
No |
The page number. Pages start from 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Maximum value: 1000. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2983BEF7-4A0D-47A2-94A2-8E9C5E63**** |
| MultiCallChainInfos |
array<object> |
The information about multiple traces. |
|
|
array<object> |
|||
| TraceID |
string |
The trace ID. |
ac1400a115951745017447033d**** |
| Spans |
array<object> |
The trace details. |
|
|
array<object> |
|||
| SpanId |
string |
The span ID. |
1234 |
| OperationName |
string |
The name of the instrumented operation. |
/demo/queryNotExistDB/11 |
| ResultCode |
string |
The return code. |
1 |
| Timestamp |
integer |
The timestamp. |
1595174501747 |
| RpcType |
integer |
The RPC type. Valid values:
|
0 |
| ServiceIp |
string |
The IP address of the machine where the application is deployed. |
172.20.XX.XX |
| HaveStack |
boolean |
Specifies whether a method stack is available. Valid values:
|
true |
| ParentSpanId |
string |
The parent span ID. |
18 |
| Duration |
integer |
The duration of the span, in milliseconds. |
11 |
| RpcId |
string |
RPC ID |
0.1 |
| ServiceName |
string |
The application name. |
arms-k8s-demo-subcomponent |
| TraceID |
string |
The trace ID. |
ac1400a115951745017447033d**** |
| TagEntryList |
array<object> |
The list of tags for the span. |
|
|
object |
|||
| Key |
string |
The key of the tag. |
http.status.code |
| Value |
string |
The value of the tag. |
200 |
| LogEventList |
array<object> |
The log events in the span. |
|
|
array<object> |
|||
| Timestamp |
integer |
The timestamp when the log is generated. |
1595174501747 |
| TagEntryList |
array<object> |
The list of tags for the span. |
|
|
object |
|||
| Key |
string |
The key of the tag. |
http.status.code |
| Value |
string |
The value of the tag. |
200 |
Examples
Success response
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
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.