elasticsearch - Elastic APM Agent KIbana UI事务不适用

标签 elasticsearch apm

我们新引入了 flex APM来监视应用程序性能。部署后,我们遇到了Kibana APM UI的问题,该问题不会为很少的服务显示任何交易。

enter image description here

我们在APM索引中有数据,但未在Kibana APM仪表板UI中显示交易,我们得到的平均响应时间为N / A,每分钟的交易时间为0。

APM服务器7.6.1
flex 剂-1.15.0
ELK堆栈-7.6.1

请帮助我确定问题。

提前致谢。

最佳答案

终于注意到了问题。

应用API返回服务名称为Bootstrap,因为。

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");
    }

关于elasticsearch - Elastic APM Agent KIbana UI事务不适用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61108716/

相关文章:

elasticsearch - 如何连接两个elasticsearch插入?

elasticsearch - 如何在Elastic APM中启用对Spring批处理的监视?

elasticsearch - 如何在Kibana中安装/启用Elastic APM仪表板

使用应用程序性能监控工具的安全风险

c# - 如何在NEST中为内部数组创建MoreLikeThis查询?

elasticsearch - 更改索引名称后出现以下异常

php - 使用Yii2使用Elasticsearch限制查询

python - 或者在 Elasticsearch 过滤器中

apache-kafka - 我们如何使用 INSTANA 监控和管理 Apache Kafka 和 Zookeeper 集群

javascript - Elasticsearch APM RUM 页面停留时间/ session 持续时间