当使用 Java 8 和 application insights SDK 版本 1.0.8 时,Azure Application Insights 不显示实时指标。

问题描述 投票:0回答:1

我正在使用 Azure Application Insights 在我的应用程序中进行日志记录,这是一个带有 gradle 的 Spring 引导应用程序。我在我的 logback-spring.xml 中使用 application insights 作为 appender。我使用Java 8和Appinsights 1.0.8版本。我没有看到实时指标。我看到的消息是App is Offline或更新到SDK的更新版本。我试着更新build.gradle以使用新的Appinsights 2.14.0版本,但构建失败。当使用旧版本1.0.8时,构建运行良好。我是Gradle的新手。谁能帮我解决这个问题?

java azure spring-boot gradle azure-application-insights
1个回答
0
投票

在Java应用洞察SDK中,有一个关于实时指标的问题。https:/github.commicrosoftApplicationInsights-Javaissues1212#issuecomment-594784792。

根据这个帖子,Java SDK不完全支持实时指标 :(

链接中的表格 https:/docs.microsoft.comfr-frazureazure-monitorapplive-stream#supported-features-table。 表示,支持的功能需要Java应用洞察SDK V2.0.0+版本。

© www.soinside.com 2019 - 2024. All rights reserved.