Files
doc-exports/docs/dms_rocketmq/api-ref/ShowDiagnosisStackForRocketMq.html
chenjunjie 719d8b18de RocketMQ API 20250723 version
Reviewed-by: Ziuzko, Stanislav <stanislav.ziuzko@t-systems.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2026-03-18 20:25:09 +00:00

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}

Table 1 Path Parameters

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

Table 2 Response body parameters

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.