Azure Application Insights doesn't show live metrics when using Java 8 and application insights SDK version 1.0.8

huangapple 未分类评论48阅读模式
英文:

Azure Application Insights doesn't show live metrics when using Java 8 and application insights SDK version 1.0.8

问题

我在我的应用程序中使用Azure Application Insights进行日志记录,这是一个使用Gradle的Spring Boot应用程序。我在我的logback-spring.xml中将Application Insights用作appender。我使用Java 8和AppInsights版本1.0.8。我看不到实时指标。我看到的消息是“应用程序离线”或“更新为较新版本的SDK”。我尝试将build.gradle更新为使用新的AppInsights版本2.14.0,但构建失败。在使用较旧的版本1.0.8时,构建正常运行。我对Gradle不太了解。有人可以帮我解决这个问题吗?

英文:

I am using azure application insights for logging in my application, It is a spring boot application with gradle. I am using application insights as an appender in my logback-spring.xml. I am using Java 8 and Appinsights version 1.0.8. I do not see live metrics. I see the message as App is Offline or update to newer version of SDK. I tried updating build.gradle to use new appinsights version 2.14.0 and the build fails. The build runs fine when using older version 1.0.8. I am new to Gradle. Can someone help me with this?

答案1

得分: 0

这里关于 Java 应用洞察 SDK 中实时指标的问题存在:https://github.com/microsoft/ApplicationInsights-Java/issues/1212#issuecomment-594784792

根据这个帖子,Java SDK 并不完全支持实时指标 Azure Application Insights doesn't show live metrics when using Java 8 and application insights SDK version 1.0.8

链接中的表格 https://learn.microsoft.com/fr-fr/azure/azure-monitor/app/live-stream#supported-features-table 表明支持的特性需要 Java 应用洞察 SDK 版本 V2.0.0+。

英文:

There is an issue about live metrics in the Java application insights SDK : https://github.com/microsoft/ApplicationInsights-Java/issues/1212#issuecomment-594784792

According to this post, live metrics are not fully supported by the Java SDK Azure Application Insights doesn't show live metrics when using Java 8 and application insights SDK version 1.0.8

The table in the link https://learn.microsoft.com/fr-fr/azure/azure-monitor/app/live-stream#supported-features-table says that the supported feature requires Java application insights SDK version V2.0.0+

huangapple
  • 本文由 发表于 2020年5月29日 11:01:09
  • 转载请务必保留本文链接:https://java.coder-hub.com/62077988.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定