Features
- The agent now collects system and JVM metrics (#360)
- Add API methods
ElasticApm#startTransactionWithRemoteParent
andSpan#injectTraceHeaders
to allow for manual context propagation (#396). - Added
trace_methods
configuration option which lets you define which methods in your project or 3rd party libraries should be traced.
To create spans for allpublic
methods of classes whose name ends inService
which are in any sub-package oforg.example.services
use this matcher:
public org.example.services.*Service#*
(#398) - Added span for
DispatcherServlet#render
(#409). - Flush reporter on shutdown to make sure all recorded Spans are sent to the server before the programm exits (#397)
- Adds Kubernetes (#383) (#344) and Docker metadata (#325) to enable correlation with the Kibana Infra UI.
- Improved error handling of the Servlet Async API (#399)
- Support async API’s used with AsyncContext.start (#388)
Bug Fixes
- Fixing a potential memory leak when there is no connection with APM server
- Fixes NoSuchMethodError CharBuffer.flip() which occurs when using the Elasticsearch RestClient and Java 7 or 8 (#401)