Mengambil informasi stack metode dari sebuah jejak.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:GetStack |
none |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TraceID |
string |
Yes |
ID jejak. Anda dapat memperoleh nilai ini pada halaman Trace Analysis di Konsol ARMS. |
0a5800611641470044457853****** |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| RpcID |
string |
Yes |
ID RPC. Anda dapat memperoleh nilai ini dengan memanggil operasi GetTrace. |
0.1 |
| Pid |
string |
No |
ID aplikasi. Di Konsol ARMS, pilih Pemantauan Aplikasi > Applications. Pada halaman yang muncul, klik nama aplikasi target. URL di bilah alamat browser berisi PID aplikasi dalam format pid=xxx. Karena browser mengodekan URL, Anda harus mengubah PID. Misalnya, jika PID di URL adalah xxx%4074xxx, ganti %40 dengan @. PID-nya adalah xxx@74xxx. |
eb4zdose6v@36bab313a****** |
| StartTime |
integer |
No |
Stempel waktu awal pemanggilan metode, dalam ms. |
1728351543000 |
| EndTime |
integer |
No |
Stempel waktu akhir pemanggilan metode, dalam ms. |
1728355143000 |
| SpanID |
string |
No |
ID rentang jejak. Anda dapat memperoleh nilai ini pada halaman Trace Analysis di Konsol ARMS. |
88c32dfa4b****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
B34C3A43-A901-5F94-9DAD-758CE4****** |
| StackInfo |
array<object> |
Informasi stack metode. |
|
|
array<object> |
|||
| StartTime |
integer |
Stempel waktu awal pemanggilan metode. |
1653555396 |
| Exception |
string |
Informasi pengecualian. |
java.lang.NullPointerException |
| Api |
string |
Nama API. |
Tomcat Servlet Process |
| Line |
string |
Jumlah baris dalam informasi stack metode. |
34 |
| Duration |
integer |
Durasi, dalam ms. |
32 |
| RpcId |
string |
ID RPC. |
0.1 |
| ServiceName |
string |
Nama layanan. |
/com/test |
| CallCount |
string |
Jumlah pemanggilan metode yang berulang. |
1 |
| ExtInfo |
object |
Informasi tambahan. |
|
| Type |
string |
The type of the custom parameter. |
41 |
| Info |
string |
The content of the custom parameter. |
input=254275& |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B34C3A43-A901-5F94-9DAD-758CE4******",
"StackInfo": [
{
"StartTime": 1653555396,
"Exception": "java.lang.NullPointerException",
"Api": "Tomcat Servlet Process",
"Line": "34",
"Duration": 32,
"RpcId": "0.1",
"ServiceName": "/com/test",
"CallCount": "1",
"ExtInfo": {
"Type": "41",
"Info": "input=254275&"
}
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.