应用性能管理 APM-查询span数据:响应示例

时间:2024-04-30 09:29:55

响应示例

状态码: 200

OK,请求响应成功。

{
  "total" : 2,
  "span_info_list" : [ {
    "async" : false,
    "global_trace_id" : "16-1666684411910-1326",
    "global_path" : null,
    "trace_id" : "16-1666684411910-1326",
    "span_id" : "1",
    "env_id" : 11,
    "instance_id" : 16,
    "app_id" : 11,
    "biz_id" : 162,
    "domain_id" : 1,
    "source" : "/apm2/health/v1/health-check",
    "real_source" : "/apm2/health/v1/health-check",
    "start_time" : 1666684411910,
    "time_used" : 1,
    "code" : 200,
    "class_name" : "org/apache/catalina/core/StandardHostValve",
    "is_async" : false,
    "tags" : { },
    "has_error" : false,
    "error_reasons" : null,
    "type" : "Tomcat",
    "http_method" : "GET",
    "estimated_start_time" : null,
    "estimated_end_time" : null,
    "biz_code" : null,
    "env_name" : "xxx-roma-2",
    "instance_name" : "apm2-apm-pu-task-6b5bbfc84d-gtrrs(172.16.3.7)",
    "app_name" : "apm-pu-task",
    "region" : "xxx-roma-2"
  }, {
    "async" : false,
    "global_trace_id" : "15-1666684400114-1332",
    "global_path" : null,
    "trace_id" : "15-1666684400114-1332",
    "span_id" : "1",
    "env_id" : 11,
    "instance_id" : 15,
    "app_id" : 11,
    "biz_id" : 162,
    "domain_id" : 1,
    "source" : "/apm2/health/v1/health-check",
    "real_source" : "/apm2/health/v1/health-check",
    "start_time" : 1666684400114,
    "time_used" : 0,
    "code" : 200,
    "class_name" : "org/apache/catalina/core/StandardHostValve",
    "is_async" : false,
    "tags" : { },
    "has_error" : false,
    "error_reasons" : null,
    "type" : "Tomcat",
    "http_method" : "GET",
    "estimated_start_time" : null,
    "estimated_end_time" : null,
    "biz_code" : null,
    "env_name" : "xxx-roma-2",
    "instance_name" : "apm2-apm-pu-task-6b5bbfc84d-rxlhr(*.*.*.*)",
    "app_name" : "apm-pu-task",
    "region" : "xxx-roma-2"
  } ]
}
support.huaweicloud.com/api-apm/ShowSpanSearch.html