Queries the information of a method stack.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:GetStack |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TraceID |
string |
Yes |
The trace ID. It is displayed on the Trace Explorer page in the Application Real-Time Monitoring Service (ARMS) console. |
0a5800611641470044457853****** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| RpcID |
string |
Yes |
The ID of the remote procedure call (RPC) mode. You can obtain the ID by calling the GetTrace operation. |
0.1 |
| Pid |
string |
No |
The process identifier (PID) of the application. For more information about how to obtain the PID, see Obtain the PID of an application. |
eb4zdose6v@36bab313a****** |
| StartTime |
integer |
No |
The entry timestamp of the method call. Unit: milliseconds. |
1728351543000 |
| EndTime |
integer |
No |
The exit timestamp of the method call. Unit: milliseconds. |
1728355143000 |
| SpanID |
string |
No |
The span ID of the trace. It is displayed on the Trace Explorer page in the ARMS console. |
88c32dfa4b****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B34C3A43-A901-5F94-9DAD-758CE4****** |
| StackInfo |
array<object> |
The method stack details. |
|
|
array<object> |
|||
| StartTime |
integer |
The start time of the call method. |
1653555396 |
| Exception |
string |
The error message. |
java.lang.NullPointerException |
| Api |
string |
The name of the operation. |
Tomcat Servlet Process |
| Line |
string |
The number of rows in the method stack information. |
34 |
| Duration |
integer |
The duration. Unit: milliseconds. |
32 |
| RpcId |
string |
The ID of the RPC mode. |
0.1 |
| ServiceName |
string |
The name of the service. |
/com/test |
| CallCount |
string |
The number of times the method is called. |
1 |
| ExtInfo |
object |
The information about the array object. |
|
| Type |
string |
The type of the custom parameter. |
41 |
| Info |
string |
The content of the custom parameter. |
input=254275& |
Examples
Success response
JSON format
{
"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&"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.