Skip to content

Releases: microsoft/ApplicationInsights-Java

Application Insights Java SDK 2.6.0-BETA

13 Nov 20:32
fce4a5c

Choose a tag to compare

Announcing Application Insights Java SDK 2.6.0-BETA!

Enhancements

  • W3C tracing with back-compat is now enabled by default (#1141)
  • Improved MongoDB instrumentation (#1132)
  • Agent now supports Java 13 (#1149)

Bug Fixes

  • Older Jersey versions failing when scanning classes due to inclusion of a few Java 8 class files (#1142)
  • Fix remote dependency target field format (#1138)

Application Insights Java SDK 2.5.1

30 Oct 19:43
d65af6b

Choose a tag to compare

Announcing Application Insights Java SDK 2.5.1!

There were no changes since 2.5.1-BETA.2.

Changes Since 2.5.0

Enhancements

  • Connection String introduced for better government cloud support
  • Agent now captures MongoDB queries

Bug Fixes

  • Fixed exception thrown by agent when using Apache HttpClient ResponseHandler methods (#1067)
  • Fixed async thread tracking (#1100)

Application Insights Java SDK 2.5.1-BETA.2

19 Oct 01:02
74881f6

Choose a tag to compare

Introducing Application Insights Java SDK 2.5.1-BETA.2!

Bug Fixes

  • Fixed QuickPulse URL construction; regression from 2.5.1-BETA (#1089)
  • Fixed async thread tracking (#1100)

Application Insights Java SDK 2.5.1-BETA

02 Oct 03:12
b258b65

Choose a tag to compare

Introducing Application Insights Java SDK 2.5.1-BETA!

Enhancements

  • Connection String introduced for better government cloud support
  • Agent now captures MongoDB queries

Bug Fixes

  • Fixed exception thrown by agent when using Apache HttpClient ResponseHandler methods (#1067)

Application Insights Java SDK 2.5.0

17 Sep 16:20
956e423

Choose a tag to compare

Announcing Application Insights Java SDK 2.5.0!

There were no changes since 2.5.0-BETA.5.

Summary of Changes Since 2.4.x

Enhancements

SDK-wide

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

New Agent Features

  • Generic JDBC driver support: captures JDBC queries for all JDBC drivers.
  • Automatically captures dependencies for async requests by tracking the request across multiple threads.
  • 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.
  • Improved HTTP client support:
    • java.net.HttpURLConnection
    • Apache HttpClient 3.x
    • OkHttp3
    • OkHttp2 now supports distributed tracing
  • 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.
  • Agent now supports multiple applications deployed in the same application server (temporarily in the 2.4.0)
  • Simplified JBoss and Wildfly deployment when using the agent: no need for workarounds using jboss.modules.system.pkgs, java.util.logging.manager, -Xbootclasspath
  • Added agent logging capture threshold, configurable via <Logging threshold="warn" />
    in the AI-Agent.xml, with default threshold warn (#1026)

Removed/Deprecated

  • Removed support for <RuntimeException> custom instrumentation in AI-Agent.xml

Bug Fixes

  • #969 Fixes ability to configure Live Metrics iKey programatically.
  • #978 Possible NPE during development
  • Fixed request telemetry displaying 200 response code for some failed requests (#810)
  • Fixed GC performance counters not working (#929)

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.5.0-BETA.5

06 Sep 00:02
d46faac

Choose a tag to compare

Introducing Application Insights Java SDK 2.5.0-BETA.5!

Bug Fixes

  • Fixed ClassCastException that could happen when using HttpURLConnection (#1053)

Application Insights Java SDK 2.5.0-BETA.4

04 Sep 03:54
95533ae

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

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

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

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