github elastic/apm-agent-java v1.0.0
Release 1.0.0

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

Breaking changes

  • Remove intake v1 support. This version requires APM Server 6.5.0+ which supports the intake api v2.
    Until the time the APM Server 6.5.0 is officially released,
    you can test with docker by pulling the APM Server image via
    docker pull docker.elastic.co/apm/apm-server:6.5.0-SNAPSHOT.

Features

  • Adds @CaptureTransaction and @CaptureSpan annotations which let you declaratively add custom transactions and spans.
    Note that it is required to configure the application_packages for this to work.
    See the documentation for more information.
  • The public API now supports to activate a span on the current thread.
    This makes the span available via ElasticApm#currentSpan()
    Refer to the documentation for more details.
  • Capturing of Elasticsearch RestClient 5.0.2+ calls.
    Currently, the *Async methods are not supported, only their synchronous counterparts.
  • Added API methods to enable correlating the spans created from the JavaScrip Real User Monitoring agent with the Java agent transaction.
    More information can be found in the documentation.
  • Added Transaction.isSampled() and Span.isSampled() methods to the public API
  • Added Transaction#setResult to the public API (#293)

Bug Fixes

  • Fix for situations where status code is reported as 200, even though it actually was 500 (#225)
  • Capturing the username now properly works when using Spring security (#183)

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

NewReleases is sending notifications on new releases.