forked from docs/doc-exports
Reviewed-by: Ziuzko, Stanislav <stanislav.ziuzko@t-systems.com> Co-authored-by: chenjunjie <chenjunjie@huawei.com> Co-committed-by: chenjunjie <chenjunjie@huawei.com>
5.7 KiB
5.7 KiB
Querying Stack Information
Function
This API is used to query stack information.
URI
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 |
Request Parameters
None
Response Parameters
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 |
Example Requests
Querying stack information
GET https://{endpoint}/v2/{project_id}/rocketmq/diagnosis/stack/{stack_id}
Example Responses
Status code: 200
success
{
"thread_name" : "name",
"stack" : "xxxxxxxxxxxxxxxx"
}
Status Codes
Status Code |
Description |
|---|---|
200 |
success |
Error Codes
See Error Codes.
Parent topic: Instance Diagnosis