github microsoft/ApplicationInsights-Java 2.5.0
Application Insights Java SDK 2.5.0

latest releases: 3.6.2, 3.6.1, 3.6.0...
5 years ago

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.

Don't miss a new ApplicationInsights-Java release

NewReleases is sending notifications on new releases.