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 theapplication_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 viaElasticApm#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()
andSpan.isSampled()
methods to the public API - Added
Transaction#setResult
to the public API (#293)