Skip to content

Releases: microsoft/ApplicationInsights-Java

Application Insights Java SDK 2.5.0-BETA.4

04 Sep 03:54
95533ae
Compare
Choose a tag to compare

Introducing Application Insights Java SDK 2.5.0-BETA.4!

Bug Fixes

  • Fixed registration of custom JMX performance counters (#1042)
  • Fixed IllegalStateException that could happen when using HttpURLConnection (#1037)
  • Fixed NullPointerException that could happen when using Java 11 (#1032)

Application Insights Java SDK 2.5.0-BETA.3

22 Aug 20:56
241e467
Compare
Choose a tag to compare

Introducing Application Insights Java SDK 2.5.0-BETA.3!

Enhancements

  • Added agent logging capture threshold, configurable via <Logging threshold="warn" />
    in the AI-Agent.xml, with default threshold warn (#1026)

Bug Fixes

  • Fixed HttpURLConnection instrumentation was not capturing outgoing url (#1025)
  • Fixed request telemetry displaying 200 response code for some failed requests (#810)
  • Fixed GC performance counters not working (#929)

Application Insights Java SDK 2.4.1

05 Aug 23:13
Compare
Choose a tag to compare

This introduces Application Insights Java SDK 2.4.1. This release includes a critical bug fix.

Bug Fixes

  • Fixed #910. In some rare cases, correlation id serialization would produce an id with a smaller than the expected length. This caused validation to fail and an exception to be thrown.

Miscellaneous

  • Spring boot dependencies were upgraded to version 1.5.21

Application Insights Java SDK 2.5.0-BETA.2

24 Jul 00:13
06a7b1b
Compare
Choose a tag to compare

Introducing Application Insights Java SDK 2.5.0-BETA.2!

Enhancements

  • Added back support for <Class> custom instrumentation in AI-Agent.xml

Bug Fixes

  • Fixed opting out of agent capturing logging via <Logging enabled="false" />
  • #969 Fixes ability to configure Live Metrics iKey programatically.
  • #978 Possible NPE during development

Application Insights Java SDK 2.5.0-BETA

11 Jul 21:35
28082ce
Compare
Choose a tag to compare

Introducing Application Insights Java SDK 2.5.0-BETA! This release introduces some very exciting changes to the agent and adds support for the latest versions of Java!

Enhancements

SDK-wide

  1. Added Java 9/10/11/12 support
  2. Introduced new jar, applicationinsights-web-auto.jar, which automatically registers the web filter. No need to modify web.xml or add @WebFilter.
  3. Simplifies role name configuration by adding <RoleName> tag in ApplicationInsights.xml.

New Agent Features

  1. Generic JDBC driver support: captures JDBC queries for all JDBC drivers.
  2. Automatically captures dependencies for async requests by tracking the request across multiple threads.
  3. Agent now captures application logging from Log4j 2/1.2 and Logback.
    • This removes the need to add the applicationinsights-logging-*.jar dependency and modify the application's logging configuration.
  4. Improved HTTP client support:
    • java.net.HttpURLConnection
    • Apache HttpClient 3.x
    • OkHttp3
    • OkHttp2 now supports distributed tracing
  5. Sets Operation Name automatically based on Spring @RequestMapping, JAX-RS @Path and Struts action class/method name.
    • This removes the need for RequestNameHandlerInterceptorAdapter or other interceptors.
  6. Agent now supports multiple applications deployed in the same application server (temporarily in the 2.4.0)
  7. Simplified JBoss and Wildfly deployment when using the agent: no need for workarounds using jboss.modules.system.pkgs, java.util.logging.manager, -Xbootclasspath

Removed/Deprecated

  1. Removed support for <Class> custom instrumentation in AI-Agent.xml
  2. Removed support for <RuntimeException> custom instrumentation in AI-Agent.xml

Miscellaneous

  • Starting with this release, you can now find the agent and the collectd plugin on Maven Central as applicationinsights-agent and applicationinsights-collectd under the same group, com.microsoft.azure.

Application Insights Java SDK 2.4.0

10 Jul 18:21
8abe83e
Compare
Choose a tag to compare

This introduces Application Insights Java SDK 2.4.0. This adds all the functionality introduced in 2.4.0-BETA and some additional bug fixes and enhancements.

Important Note: Spring Boot Starter Version

Previously, the Spring Boot Starter had an independent version number, causing some confusion. Future versions the Spring Boot Starter version will track with the SDK version. There will not be a Spring Boot Starter version 1.2.0, and in it's place version 2.4.0.

Changes introduced in 2.4.0-BETA

The changes to WebTelemetryModule in 2.4.0-BETA were reverted back the state in 2.3.1.

Enhancements

  1. Added retries to CDSProfileFetcher #901
  2. Added caching of sdk version id, reducing number of file IO operations #896

Bug Fixes

  1. Fix #907 - Ensures string compare is case insensitive when running a SQL explain on a select statement.
  2. Fixed ThreadLocal leak #887
  3. Fixed QuickPulse schema version #904
  4. Fix #919 - Fixed issue when adding duplicate Windows performance counter.
  5. Misc stability improvements #932, #941, #945, #946, #947, #948

Application Insights Java SDK 2.4.0-BETA

29 Mar 21:33
71d58c4
Compare
Choose a tag to compare

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

  1. Removed support for multiple apps instrumented with single JVM Agent. Instrumentation will only work for single apps in application server.
  2. Deprecated class ApplicationInsightsHttpResponseWrapper.java

Breaking change

  1. WebRequestTelemetry interface now has another method setRequestTelemetryContext. 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

  1. 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.
  2. #444 Introduced support to capture asynchronous request.
  3. #749 Introduce beta supported instrumentation for Postgres SQL jdbc4 driver prepared statements via JVM Agent.
  4. Introduced experimental API's AIHttpServletListener, HttpServerHandler, ApplicationInsightsServletExtractor and HttpExtractor.
  5. Introduced WebTelemetryModule.setRequestTelemetryContext API.
  6. #797 SDKLogger can now be enabled using system properties.

Bug Fixes

  1. #879 Fixed issue with request/dependency correlation
  2. Fixed #826 Remove duplicate Postgres provider.
  3. #881 Fix SDK version in QuickPulse Telemetry.
  4. #883 Fixed dependency metric collection for QuickPulse/LiveMetrics
  5. #852 Fixed bug in PreparedStatementVisitor to instrument all overloads of setTimestamp.
  6. Various stability improvements: #850 #849 #842 #847 #843 #887 #888

Application Insights Java SDK 2.3.1

09 Feb 00:56
423d585
Compare
Choose a tag to compare

Welcome to Application Insights Java SDK 2.3.1 and Spring Boot Starter 1.1.2. This service release addresses a critical bugfix.

Bug Fixes:

  1. Fixed #799. Removed dependency on Guava vulnerable to CVE-2018-10237.

Application Insights Java SDK 2.3.0

18 Dec 01:12
9c04d50
Compare
Choose a tag to compare

Welcome to Holiday Edition release of Application Insights Java SDK 2.3.0 and Application Insights SpringBoot Starter 1.1.1 (Release version)! This service release brings in brand new features and critical bug fixes.

Enhancements:

  1. Introduced support for W3C Trace Context Correlation Headers to support distributed tracing across Application Insights and Open Census SDKs.
  2. Introducing Application Insights SpringBoot Starter 1.1.1 (Release Version)!

Bug Fixes:

  1. Fix #784 Shade guava dependency.

Application Insights Java SDK 2.2.1

14 Nov 18:56
Compare
Choose a tag to compare

Welcome to Application Insights Java SDK 2.2.1 and Application Insights SpringBoot Starter 1.1.1-BETA! This service release brings critical bug fixes and enhancement.

Enhancements:

  1. Added support for writing diagnostic logs to file for Application Insights Java Agent.
  2. Added ability to configure FileLogger for SpringBootStarter.

Deprecations:

  1. Deprecated InternalAgentLogger in favor of InternalLogger for better consistency.

Bug Fixes:

  1. Fixed #767. Updated gRPC dependencies which includes latest Netty version.
  2. Fixed #751. Added support for absolute paths for log file output.