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
WebAppNameContextInitializer
for use with theWebRequestTrackingFilter
. - Introduced
CloudInfoContextInitializer
to set roleInstance inCloudContext
. This new initializer is included by default and therefore will not affect the current tags. - Deprecated
getRoleName
/setRoleName
andgetRoleInstance
/setRoleInstance
inDeviceContext
. IntroducedCloudContext
to hold replacements,getRole
/setRole
andgetRoleInstance
/setRoleInstance
, respectively. - Removes Servlet 3.0 annotations from
WebRequestTrackingFilter
andApplicationInsightsServletContextListener
which 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.)
InterceptorRegistry
class no longer has@EnableWebMvc
annotation 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.