github elastic/apm-agent-java v1.9.0
Release 1.9.0

latest releases: v1.49.0, 1.49.0, v1.48.1...
4 years ago

Features

  • Upgrading supported OpenTracing version from 0.31 to 0.33
  • Added annotation and meta-annotation matching support for trace_methods, for example:
    • public @java.inject.* org.example.* (for annotation)
    • public @@javax.enterprise.context.NormalScope org.example.* (for meta-annotation)
  • The runtime attachment now also works when the tools.jar or the jdk.attach module is not available.
    This means you don't need a full JDK installation - the JRE is sufficient.
    This makes the runtime attachment work in more environments such as minimal Docker containers.
    Note that the runtime attachment currently does not work for OSGi containers like those used in many application servers such as JBoss and WildFly.
    See the documentation for more information.
  • Support for Hibernate Search

Bug Fixes

  • A warning in logs saying APM server is not available when using 1.8 with APM server 6.x. Due to that, agent 1.8.0 will silently ignore non-string labels, even if used with APM server of versions 6.7.x or 6.8.x that support such. If APM server version is <6.7 or 7.0+, this should have no effect. Otherwise, upgrade the Java agent to 1.9.0+.
  • ApacheHttpAsyncClientInstrumentation matching increases startup time considerably
  • Log correlation feature is active when active==false
  • Tomcat's memory leak prevention mechanism is causing a... memory leak. JDBC statement map is leaking in Tomcat if the application that first used it is udeployed/redeployed. See this related discussion.

Breaking Changes

  • The apm-agent-attach.jar is not executable anymore.
    Use apm-agent-attach-standalone.jar instead.

Don't miss a new apm-agent-java release

NewReleases is sending notifications on new releases.