Known issues
Some customers saw increased overhead when Real-time profiling is enabled.
See notice below on how to disable it.
New features and improvements:
Java instrumentation by XML new properties:
- traceLambda - to trace lambdas inside a method
- traceByReturnType - to trace all methods in a class that return a given type
These are compatible with Java and Scala. For more information, see Java instrumentation by XML.
Scala APIs
New artifacts allow Scala code to be instrumented using a fluent Scala API instead of the Java annotations. There are specific artifacts for versions 2.10, 2.11, 2.12, 2.13 of Scala. Scala 3.0 users can use the 2.13 artifact.
For more information, see Scala instrumentation.
Real-time profiling for Java using JFR metrics
This feature is now enabled by default.
Importante
This feature will cause an increase in the consumption of data. The amount depends on the application. This feature can be disabled by adding the following to the agent yaml config nested under the
common
section:jfr:enabled: falseFor more information, see JFR core README.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.