Mengambil detail beberapa jejak.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| TraceIDs |
array |
Yes |
Daftar ID jejak. |
ac1400a115951745017447033d**** |
|
string |
No |
ID jejak. Tentukan minimal 1 dan maksimal 9 ID jejak. Anda dapat memperoleh ID jejak dari halaman Permintaan Jejak di konsol ARMS. |
ac1400a115951745017447033d**** |
|
| StartTime |
integer |
Yes |
Timestamp pengatur waktu mulai jejak, dalam milidetik. |
1657692507000 |
| EndTime |
integer |
Yes |
Timestamp pengatur waktu akhir jejak, dalam milidetik. |
1663999380000 |
| PageNumber |
integer |
No |
Nomor halaman kueri, dimulai dari 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai maksimum: 1000. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2983BEF7-4A0D-47A2-94A2-8E9C5E63**** |
| MultiCallChainInfos |
array<object> |
Informasi tentang beberapa jejak. |
|
|
array<object> |
|||
| TraceID |
string |
ID jejak. |
ac1400a115951745017447033d**** |
| Spans |
array<object> |
Detail jejak. |
|
|
array<object> |
|||
| SpanId |
string |
The span ID. |
1234 |
| OperationName |
string |
The name of the traced span. |
/demo/queryNotExistDB/11 |
| ResultCode |
string |
The status code returned. |
1 |
| Timestamp |
integer |
The timestamp. |
1595174501747 |
| RpcType |
integer |
The type of the remote procedure call (RPC) mode.
|
0 |
| ServiceIp |
string |
The IP address of the host where the application resides. |
172.20.XX.XX |
| HaveStack |
boolean |
Indicates whether a method stack was provided.
|
true |
| ParentSpanId |
string |
The ID of the parent span. |
18 |
| Duration |
integer |
The amount of time consumed by the trace. Unit: milliseconds. |
11 |
| RpcId |
string |
RPC ID |
0.1 |
| ServiceName |
string |
The name of the application. |
arms-k8s-demo-subcomponent |
| TraceID |
string |
The trace ID. |
ac1400a115951745017447033d**** |
| TagEntryList |
array<object> |
The tags of the trace. |
|
|
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 trace. |
|
|
array<object> |
|||
| Timestamp |
integer |
The time when the log was generated. The value is a timestamp. |
1595174501747 |
| TagEntryList |
array<object> |
The tags of the trace. |
|
|
object |
|||
| Key |
string |
The key of the tag. |
http.status.code |
| Value |
string |
The value of the tag. |
200 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
]
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.