This API is used to query stack information.
GET /v2/{project_id}/rocketmq/diagnosis/stack/{stack_id}
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Definition Project ID. For details about how to obtain it, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
stack_id |
Yes |
String |
Definition Stack ID. It is obtained from the API for querying an instance diagnosis report. Constraints N/A Range N/A Default Value N/A |
None
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
thread_name |
String |
Definition Thread name. Constraints N/A Range N/A Default Value N/A |
stack |
String |
Definition Stack information of the client. Constraints N/A Range N/A Default Value N/A |
Querying stack information
GET https://{endpoint}/v2/{project_id}/rocketmq/diagnosis/stack/{stack_id}
Status code: 200
success
{
"thread_name" : "name",
"stack" : "xxxxxxxxxxxxxxxx"
}
Status Code |
Description |
|---|---|
200 |
success |
See Error Codes.