huawei-cloud-api-definitions-APM 0.1.20250516

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"FlameLineTreeInfo":{"properties":{"api":{"description":"api的url,比如: GET_/user/{id}","type":"string"},"from":{"description":"开始时间,比如1704271204595","format":"int64","type":"integer"},"instance_id":{"description":"实例id","format":"int64","type":"integer"},"region":{"description":"实例所在区域","type":"string"},"to":{"description":"结束时间, 比如1704275169491","format":"int64","type":"integer"},"type":{"description":"数据类型, CPU 或者 LATENCY","type":"string"}},"required":["from","to","type","instance_id","api","region"],"type":"object"},"FlameLineTreeResult":{"properties":{"data":{"description":"火焰图的数据,是个二维数组\ndata[0][0]: self time,方法自己消耗的cpu毫秒时间,不包括方法内部调用其他方法的时间\ndata[0][1]: total time, 方法消耗的cpu毫秒时间,包括方法内部调用其他方法的时间\ndata[0][2]: 方法的index,对应methods中的数组下标\ndata[0][3]: 行号\ndata[0][4]: 方法的子节点,就是方法中调用的其他方法","items":{"type":"string"},"type":"array"},"methods":{"description":"调用栈上的方法信息,是个二维数组\nmethod[0][0]: 方法的唯一id\nmethod[0][1]: 方法的package包名\nmethod[0][2]: 方法的class name 类名\nmethod[0][3]: 方法名\nmethod[0][4]: 方法的参数列表\nmethod[0][5]: 方法是否为用户的方法\nmethod[0][6]: 方法是否为native方法","items":{"type":"string"},"type":"array"}},"required":["data","methods"],"type":"object"}},"description":null,"group_id":"948fcecbff6f450fbe29bcc3e90c3eca","host":"apm2.cn-north-4.myhuaweicloud.com","id":"2bd807dc482e4a83a599095320627acc","info_version":"v1","method":"post","name":"ShowFlameLineTree","parameters":{},"paths":{"/v1/apm2/openapi/view/profiling/flame-line-tree":{"post":{"operationId":"ShowFlameLineTree","parameters":[{"description":"应用id。","format":"int64","in":"header","name":"x-business-id","required":true,"type":"integer"},{"in":"body","name":"FlameLineTreeInfo","required":true,"schema":{"$ref":"#/definitions/FlameLineTreeInfo"}}],"responses":{"200":{"description":"","examples":{"application/json":"{\n  \"data\":[\n    100,\n    1000,\n    null,\n    [\n      [\n        700,\n        700,\n        0, \n\t30, // 行号\n        []\n      ],\n      [\n        200,\n        200,\n        1,\n\t40, // 行号\n        []\n      ]\n    ]\n  ],\n  \"methods\":[\n    [\n      2, // method id\n      \"com.huawei.foo\",\n      \"SampleService\",\n      \"doService\",\n      \"int,long,String\",\n      true,  // 是否为用户方法\n      false  // 是否为native方法\n    ],\n    [\n      3,\n      \"com.huawei.bar\",\n      \"SampleRemoteCall\",\n      \"sampleCallRemoteProcess\",\n      \"float,int\",\n      true, // 是否为用户方法\n      false // 是否为native方法\n    ]\n  ]}"},"schema":{"$ref":"#/definitions/FlameLineTreeResult"}}},"tags":["Profiling"],"x-api-type":"Open-api","x-is-registered":"Y","x-request-examples-1":"{\n    \"from\": 1704271204595,\n    \"to\": 1704275169491,\n    \"type\": \"LATENCY\",\n    \"instance_id\": -6870732446083119805,\n    \"api\" : \"GET_/user/{id}\",\n    \"region\":\"cn-north-7\"\n}","x-request-examples-text-1":"{\n    \"from\": 1704271204595,\n    \"to\": 1704275169491,\n    \"type\": \"LATENCY\",\n    \"instance_id\": -6870732446083119805,\n    \"api\" : \"GET_/user/{id}\",\n    \"region\":\"cn-north-7\"\n}","x-request-examples-url-1":"POST: /v1/apm2/openapi/view/profiling/flame-line-tree","x-support-sdk":"Y"}}},"product_short":"APM","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"}},"summary":null,"tags":"Profiling","uri":null,"version":"2.0"}