简体   繁体   中英

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

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?

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:(

The table in the link https://docs.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+

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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