Skip to content

Releases: microsoft/ApplicationInsights-Java

Application Insights Java SDK 2.6.0

26 Mar 02:29
e74f56a
Compare
Choose a tag to compare

Announcing Application Insights Java SDK 2.6.0!

There were no changes since 2.6.0-BETA.3.

Changes Since 2.5.0

Deprecations

If using Local Forwarder Channel, this will be a breaking change.

  • Removed Local Forwarder Channel. Local Forwarder is now a deprecated solution.
    The classes and configuration elements which supported this solution have been removed.

Enhancements

  • Improved MongoDB instrumentation (#1132)
  • W3C tracing with back-compat is now enabled by default (#1141)
  • Use newer id format when reporting request and dependency telemetry (#1174)
  • Removed unused dependencies from azure-application-ingishts-spring-boot-starter (xmlpull, xstream).
  • Updated to the latest version of the struts API library (used by com.microsoft.applicationinsights.web.struts.RequestNameInterceptor).
  • Various stability improvements (#1177)
  • Agent now supports Java 13 (#1149)

Bug Fixes

  • Fixed memory leak with ChannelFetcher when TelemetryClient is instantiated in large numbers.
  • Fixed Unknown constant pool issue with modeule-info.class when using older versions of ClassGraph.
  • Older Jersey versions failing when scanning classes due to inclusion of a few Java 8 class files (#1142)
  • Fixed potential issue with URI building in ConnectionString parsing.
  • Fix remote dependency target field format (#1138)

Application Insights Java SDK 2.6.0-BETA.3

05 Mar 22:21
05a09b3
Compare
Choose a tag to compare

Announcing Application Insights Java SDK 2.6.0-BETA.3!

Enhancements

  • Use newer id format when reporting request and dependency telemetry (#1174)

Bug Fixes

  • Fixed pom file dependency in applicationinsights-spring-boot-starter (#1197)

Application Insights Java SDK 2.6.0-BETA.2

17 Jan 20:35
024c3d6
Compare
Choose a tag to compare

Announcing Application Insights Java SDK 2.6.0-BETA.2!

Deprecations

If using Local Forwarder Channel, this will be a breaking change.

  • Removed Local Forwarder Channel. Local Forwarder is now a deprecated solution.
    The classes and configuration elements which supported this solution have been removed.

Enhancements

  • Removed unused dependencies from azure-application-ingishts-spring-boot-starter (xmlpull, xstream).
  • Updated to the latest version of the struts API library (used by com.microsoft.applicationinsights.web.struts.RequestNameInterceptor).
  • Various stability improvements (#1177)

Bug Fixes

  • Fixed Unknown constant pool issue with modeule-info.class when using older versions of ClassGraph.
  • Fixed potential issue with URI building in ConnectionString parsing.
  • Fixed memory leak with ChannelFetcher when TelemetryClient is instantiated in large numbers.

Application Insights Java SDK 2.6.0-BETA

13 Nov 20:32
fce4a5c
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
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)