Querying the Details About a URL Tracing View
Function
This API is used to query the details about a URL tracing view.
URI
POST /v1/apm2/openapi/transaction/detail
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
x-business-id |
Yes |
Long |
Application ID. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
tx_node_list |
Array of TxNode objects |
List of component nodes. |
tx_line_list |
Array of TxLine objects |
List of lines that indicate invocations between components. |
Example Requests
Query the details about the URL tracing view of transaction 3, with the start timestamp set to 1667456607000 and end timestamp set to 1667457807000.
/v1/apm2/openapi/transaction/detail { "start_time" : 1667456607000, "end_time" : 1667457807000, "tx_name" : "3" }
Example Responses
Status code: 200
OK: The request is successful.
{ "tx_node_list" : [ { "tx_node_id" : "48", "tx_node_name" : "apm-api:xx-xxx-xxx", "tx_node_type" : "env", "tx_env_id" : 48 }, { "tx_node_id" : "11.108.243.78:3306:apm2_cmdb", "tx_node_name" : "11.108.243.78:3306:apm2_cmdb", "tx_node_type" : "Mysql", "tx_env_id" : null }, { "tx_node_id" : "user", "tx_node_name" : "user", "tx_node_type" : "user", "tx_env_id" : null }, { "tx_node_id" : "295", "tx_node_name" : "lubanops-api:xx-xxx-xxx", "tx_node_type" : "env", "tx_env_id" : 295 }, { "tx_node_id" : "11.108.242.168:3306:apm2_region", "tx_node_name" : "11.108.242.168:3306:apm2_region", "tx_node_type" : "Mysql", "tx_env_id" : null }, { "tx_node_id" : "54", "tx_node_name" : "apm-front:xx-xxx-xxx", "tx_node_type" : "env", "tx_env_id" : 54 }, { "tx_node_id" : "Elasticsearch:11.108.246.171:9200,11.108.246.24:9200,11.108.246.47:9200", "tx_node_name" : "Elasticsearch:11.108.246.171:9200,11.108.246.24:9200,11.108.246.47:9200", "tx_node_type" : "EsRestClient", "tx_env_id" : null } ], "tx_line_list" : [ { "tx_from_node" : "54", "tx_to_node" : "48", "invoke_count" : 364, "rt" : 28.065934065934066, "error_count" : 0, "type" : "HttpClient", "direction" : "out" }, { "tx_from_node" : "48", "tx_to_node" : "Elasticsearch:11.108.246.171:9200,11.108.246.24:9200,11.108.246.47:9200", "invoke_count" : 359, "rt" : 18.08635097493036, "error_count" : 0, "type" : "EsRestClient", "direction" : "out" }, { "tx_from_node" : "295", "tx_to_node" : "54", "invoke_count" : 365, "rt" : 49.87123287671233, "error_count" : 0, "type" : "HttpClient", "direction" : "out" }, { "tx_from_node" : "54", "tx_to_node" : "11.108.242.168:3306:apm2_region", "invoke_count" : 48, "rt" : 2.3541666666666665, "error_count" : 0, "type" : "Mysql", "direction" : "out" }, { "tx_from_node" : "54", "tx_to_node" : "48", "invoke_count" : 359, "rt" : 19.220055710306408, "error_count" : 0, "type" : "Url", "direction" : "in" }, { "tx_from_node" : "user", "tx_to_node" : "295", "invoke_count" : 365, "rt" : 50.92876712328767, "error_count" : 0, "type" : "Url", "direction" : "in" }, { "tx_from_node" : "295", "tx_to_node" : "54", "invoke_count" : 364, "rt" : 29.354395604395606, "error_count" : 0, "type" : "Url", "direction" : "in" }, { "tx_from_node" : "295", "tx_to_node" : "11.108.243.78:3306:apm2_cmdb", "invoke_count" : 58, "rt" : 0.5862068965517241, "error_count" : 0, "type" : "Mysql", "direction" : "out" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
OK: The request is successful. |
401 |
Unauthorized: No permissions. |
403 |
Forbidden: Access forbidden. |
404 |
Not Found: The requested resource is not found. |
Error Codes
SeeError Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot