Important
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Ruby agent EOL policy for information about agent releases and support dates.
v10.5.0
Feature: Add Dalli 5.0 support and fix meta protocol instrumentation
The agent now supports Dalli 5.0+, which removed
Dalli::Protocol::Binaryin favor of the meta protocol exclusively. For Dalli 3.2.0+,pipelined_getinstrumentation now correctly targetsDalli::Protocol::Base(where the method is defined) rather thanDalli::Protocol::Binary, fixing a gap whereget_multicalls went uninstrumented when using the meta protocol. For Dalli 5.0+, the agent additionally instrumentsDalli::Protocol::Meta#read_multi_req, which is invoked by Dalli's single-serverget_multioptimization. PR#3541Feature: Add active_record_use_table_name configuration option
A new configuration option,
active_record_use_table_name, uses an Active Record model's table name instead of its class name when naming metrics, spans, and transaction trace segments. This can particularly be helpful to reduce cardinality in applications using single-table inheritance. The option defaults tofalseto preserve existing behavior. PR#3540Feature: Partially redact license keys in agent logs
Previously, the agent would fully redact New Relic license keys in agent logs. Now, the first 10 characters are visible while the rest are replaced with
*. This preserves enough to troubleshoot region-related issues without exposing the secret portion of the key. PR#3547Bugfix: Fix Semantic Logger instrumentation incompatibility with
rails_semantic_loggerPreviously, an
ArgumentErrorwould be raised when an exception reachedActionDispatch::DebugExceptionswhile usingrails_semantic_logger. This has been fixed. Thank you to @jdelStrother for reporting this! PR#3548