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

latest releases: 3.6.2, 3.6.1, 3.6.0...
pre-release5 years ago

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.

Don't miss a new ApplicationInsights-Java release

NewReleases is sending notifications on new releases.