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.8.0
Feature: Report a unique hostname for Google Cloud Run Worker Pools and Jobs
Cloud Run hostname support, added in PR#3609, detected Cloud Run only through
K_REVISION, the environment variable set by Cloud Run Services. The agent now also recognizesCLOUD_RUN_REVISION(Worker Pools) andCLOUD_RUN_EXECUTION(Jobs), soutilization.gcp_cloud_run.use_instance_as_hostnow applies to all three resource types. Whenutilization.gcp_cloud_run.include_revision_in_hostistrue, the hostname is built from whichever of these variables is present — for example,{CLOUD_RUN_EXECUTION}-{instance id}for a Job. Issue#3651 PR#3652Feature: Add
browser_monitoring.versionconfiguration optionCustomers can now pin the exact browser agent loader version New Relic injects by setting the new
browser_monitoring.versionconfiguration option. See the browser agent EOL policy for which versions are currently available and supported. PR#3663Feature: Add span.kind to background job libraries
Now, the
span.kindattribute will be added toproduceandconsumeoperations from background job libraries. This includes ActiveJob, Sidekiq, Resque and DelayedJob. PR#3636Bugfix: DelayedJob instrumentation no longer reinstalls itself on every worker under prepend mode
When DelayedJob instrumentation is installed via prepend (the default), creating more than one
Delayed::Workerin the same process caused the agent to log "Installing DelayedJob instrumentation" and reinitialize the plugin again for each additional worker. This was harmless but noisy; it's now only done once per process, matching the existing chain-instrumentation behavior. PR#3654Bugfix: Allowlisted configuration values are no longer case sensitive
Previously, allowlisted configuration options required an exact case match, so a value with unexpected casing — like
OBFUSCATEDorObFuScAtEdforslow_sql.record_sql— would silently fall back to the default. Configuration options that validate against an allowlist now match values regardless of case, so both are treated the same asobfuscated. Issue#3613 PR#3645Bugfix: Puma instrumentation works when Puma is lazy-loaded
With
gem "puma", require: false, Puma was not yet loaded when the agent's dependency check ran, so Puma instrumentation would fail to install. The agent now recognizesPuma::RackHandleras evidence that Puma is present, fixing this issue. Issue#3641 PR#3650