Java Agent 3.18.0

Released on: 
Wednesday, July 1, 2015 - 14:42

Improvements

  • Jetty

    Updated Jetty instrumentation to support Jetty 9.3.

  • Thrift

    Added support for Apache Thrift 0.8 and greater. This instrumentation automatically adds timing to Thrift calls and sets transaction names based on Thrift method names. It can be disabled in the newrelic.yml by adding:

    com.newrelic.instrumentation.thrift-0.8:
        enabled: false
    
  • Resin

    The New Relic Resin Instrumentation now reports errors as HttpErrors, allowing them to be ignored.

  • Heap Alerting

    A new heap utilization metric has been created for alerting purposes. This metric tracks the percentage of heap in use as a number between 0 and 1, where 0 means no heap usage and 1 means a full heap. The new metric is: Memory/Heap/Utilization

  • Exception Whitelisting

    Java Exception messages will now be obfuscated when high security mode is enabled. If specific exception messages should be allowed through they can be added to the whitelist with the following configuration property:

    strip_exception_messages:
        whitelist: 'java.lang.NullPointerException,java.lang.IllegalStateException'
    

    The whitelist is a comma-delimited string of exception class package + class name. This can be enabled/disabled independently of high security mode with the following property:

    strip_exception_messages:
        enabled: true