Welcome to Application Insights Java SDK 2.4.0-BETA and SpringBoot Starter 1.2.0-BETA. This version introduces several enhancement and bug fixes.
Removed and Deprecated
- Removed support for multiple apps instrumented with single JVM Agent. Instrumentation will only work for single apps in application server.
- Deprecated class
ApplicationInsightsHttpResponseWrapper.java
Breaking change
WebRequestTelemetry
interface now has another methodsetRequestTelemetryContext
. This is needed to propagate context explicitly in asynchronous environments. This change is likely to break clients relying on implementation of this interface in their code.
Enhancements
- Introduced beta support for manual context propagation in Async and Explicit Multithreading scenarios.
Please refer to this wiki (https://github.com/Microsoft/ApplicationInsights-Java/wiki/Distributed-Tracing-in-Asynchronous-Java-Applications) for instructions. - #444 Introduced support to capture asynchronous request.
- #749 Introduce beta supported instrumentation for Postgres SQL jdbc4 driver prepared statements via JVM Agent.
- Introduced experimental API's AIHttpServletListener, HttpServerHandler, ApplicationInsightsServletExtractor and HttpExtractor.
- Introduced
WebTelemetryModule.setRequestTelemetryContext
API. - #797 SDKLogger can now be enabled using system properties.
Bug Fixes
- #879 Fixed issue with request/dependency correlation
- Fixed #826 Remove duplicate Postgres provider.
- #881 Fix SDK version in QuickPulse Telemetry.
- #883 Fixed dependency metric collection for QuickPulse/LiveMetrics
- #852 Fixed bug in
PreparedStatementVisitor
to instrument all overloads ofsetTimestamp
. - Various stability improvements: #850 #849 #842 #847 #843 #887 #888