Skip to content

Application Insights Java SDK 2.0.0-BETA

Pre-release
Pre-release
Compare
Choose a tag to compare
@dhaval24 dhaval24 released this 19 Dec 01:36
· 3653 commits to main since this release
f4c3059

• Introducing support for Cross-Component telemetry correlation (Supports Apache HTTP calls).
• Introducing Fixed Rate Sampling using Telemetry Processors (Recommended to use).
• Application Insights XML file can now be setted using SYSTEM PROPERTY - applicationinsights.configurationDirectory.
• Fixed Regression issue-Telemetry items with Severity level not being transmitted with SDK v1.0.10.
• Fixed dependency capturing issues of HTTP, Oracle SQL and MsSQL with JDK 1.8.
• Fixed Shadow Jar relocation issue (#276) . Prevents class path hell issues.
• Introduced Parameterized constructor to ensure SDK can be used smoothly with Spring Boot.
• Updating SDK dependencies in-order to latest versions to increase stability and security.
• Deprecating support for JDK 1.6. Enabling Application Insights would now require JDK 1.7 or above.
• Changed the signature of 'com.microsoft.applicationinsights.internal.agent.CoreAgentNotificationHandler.httpMethodFinished' to include correlation information.
• Introducing 'com.microsoft.applicationinsights.internal.channel.samplingV2.FixedRateSamplingTelemetryProcessor', Telemetry Processor for FixedRate Sampling.
• Introducing class 'com.microsoft.applicationinsights.internal.channel.samplingV2.SamplingScoreGeneratorV2'. Fixes the issues with some calculations for sampling.
• Adding two XML element classes : 'com.microsoft.applicationinsights.internal.config.ParamExcludedTypeXmlElement', 'com.microsoft.applicationinsights.internal.config.ParamIncludedTypeXmlElement' to support adding included and excluded types in the processor. This assists in FixedRateSampling V2 also.
• Introducing CustomClassWriter in Agent to enale finding avoid loading the actual class while instrumentation.