github newrelic/newrelic-java-agent v8.0.0
Version 8.0.0

latest releases: v8.15.0, test-delete-me, v8.14.0...
20 months ago

Important

This release includes a change to the HttpURLConnection instrumentation that creates a TimerTask to help ensure complete externals reporting. Under some circumstances this may result in a large number of threads being created, which may exhaust the maximum allocated to the JVM, causing it to stop. This issue has been fixed in the 8.0.1 release and it is highly recommended that you update to this version of the Java agent.

New features and improvements

  • Added support for Slick 3.4.0 on Scala 2.13 #1072
  • Added support for Embedded Tomcat JMX #1039
  • Updated the Java agent’s snakeyaml dependency to 1.33 #1077
  • Added tracer debug logging, which will appear when -Dnewrelic.config.log_level=finest
    and -Dnewrelic.debug=true are set #1066
  • Improved logging when using the recordCustomEvent API now includes event type, key and value #1083
  • Added Log4j1 instrumentation to support auto log forwarding #1097
  • Added JBoss Logging instrumentation to support auto log forwarding #1126
  • Real-time profiling for Java using JFR metrics can now be dynamically enabled/disabled via agent configuration #1124

Fixes

  • Removed leading slash in JCache metric names #1112
  • Fixed a bug that was preventing Log4j2 metrics from getting disabled properly #1068
  • Added a missing delimiter in POSTGRES_DIALECT_PATTERN #1050
  • Fixed a ClassCastException in GraphQL 16/17 #1082
  • Refactored HttpURLConnection instrumentation to fix several bugs that were affecting external calls and distributed traces #1102
  • Refactored grpc-1.40.0 instrumentation to ensure that tokens were properly being linked across threads #1105
  • Fixed a bug that was causing transactions to fail to link when the Spring Webclient would timeout and emit a ReadTimeoutException #1109

Removals

The following previously deprecated instrumentation modules were removed:

  • cassandra-datastax-2.1.2
  • httpclient-3.0
  • jdbc-embedded-derby-10.2.1.6
  • jdbc-embedded-derby-10.10.1.1
  • jetty-7
  • jetty-7.6
  • jetty-9
  • jetty-9.0.4
  • jetty-9.1
  • mongodb-2.12
  • mongodb-2.14
  • mongodb-3.0
  • okhttp-3.0.0
  • okhttp-3.4.0
  • okhttp-3.5.0

The previously deprecated httpResponseCode, response.status and response.statusMessage transaction/span attributes were removed. These have been replaced by http.statusCode and http.statusText. If you have any custom dashboards or alerts that query the httpResponseCode, response.status, and response.statusMessage attributes then they will need to be updated to instead use http.statusCode and http.statusText.

New Contributors

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

NewReleases is sending notifications on new releases.