Application Insights Java SDK 2.2.0
Welcome to Application Insights Java SDK 2.2.0 and Application Insights SpringBoot Starter 1.1.0-BETA! This release comes with brand new enterprise grade features and critical bug fixes to both SpringBoot Starter as well as Core SDK.
Enhancements and changes:
- Introducing SpringBoot Starter 1.1.0-BETA.
- Introducing LocalForwarderChannel(beta) for use with the LocalForwarder (https://github.com/Microsoft/ApplicationInsights-LocalForwarder)
- Starter now respects autoconfiguration for Micrometer(https://micrometer.io) metrics.
- Starter now supports reading iKey using all the variable names as core sdk.
- Starter would no longer support relaxed binding of ikey property due to complex conditional need and backport problems with RelaxedBinder from Boot 2 to 1.5.x.
- Added
WebAppNameContextInitializerfor use with theWebRequestTrackingFilter. - Introduced
CloudInfoContextInitializerto set roleInstance inCloudContext. This new initializer is included by default and therefore will not affect the current tags. - Deprecated
getRoleName/setRoleNameandgetRoleInstance/setRoleInstanceinDeviceContext. IntroducedCloudContextto hold replacements,getRole/setRoleandgetRoleInstance/setRoleInstance, respectively. - Removes Servlet 3.0 annotations from
WebRequestTrackingFilterandApplicationInsightsServletContextListenerwhich were causing issues in certain cases. This will allow easier customization of the filter. To use the listener moving forward, it will need to be defined in web.xml. - Starter adds autoconfiguration for Local Forwarder Telemetry Channel. (Please look at readme for details on configuration.)
InterceptorRegistryclass no longer has@EnableWebMvcannotation as it breaks springboot autoconfig.
Bug Fixes:
- Fix #712 the thread shutdown issue in SpringBoot Starter by registering
ApplicationInsightsServletContextListener. - Fix QuickPulse post interval bug from 5 seconds to 1 second.