繁体   English   中英

Elastic APM 代理 KIbana UI 事务不适用

[英]Elastic APM Agent KIbana UI Transactions are NA

我们新引入了弹性 APM 来监控应用程序性能。 部署后,我们遇到了 Kibana APM UI 的问题,它没有显示少数服务的任何事务。

在此处输入图像描述

我们在 APM 指数中有数据,但在 Kibana APM 仪表板 UI 中没有显示交易,我们得到 Avg.response time N/A 和 Trans.per minute 为 0。

APM-Server 7.6.1 弹性代理 - 1.15.0 ELK 堆栈 - 7.6.1

请帮助我确定问题所在。

提前致谢。

终于注意到问题了。

应用程序 API 将服务名称作为引导返回,因为。

in the Response Headers we are getting bootstrapp {
  "Content-Type": "application/json;charset=UTF-8",
  "Date": "Fri, 10 Apr 2020 20:01:37 GMT",
  "Server": "Jetty(9.2.13.v20150730)",
  "Transfer-Encoding": "chunked",
  "X-Application-Context": "bootstrap:31144"
}

public static void main(String[] args) throws Exception {
        SpringApplication.run(Application.class, args);
    }

未设置 ID,因此它使用默认值

Id可以这样设置

public static void main(String[] args) throws Exception {
        SpringApplication.run(Application.class, args).setId("the text that you want to see int the header");
    }

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM