중요
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.
v9.20.0
Feature: Add ECS Docker ID for Fargate
Previously, the Ruby agent did not record the Docker ID when running in an AWS ECS Fargate environment. The Docker ID will now be recorded correctly. PR#3172
Feature: Add NewRelic::Helper.version_satisfied?
The agent has a new helper method to simplify version comparison.
NewRelic::Helper.version_satisfied?
accepts three arguments: a left-side version number, the comparison operator as a string, and a right-side version number. Our thanks go to @kekke-n for this contribution. PR#3182Feature: Add code.stacktrace attribute on datastore spans when duration exceeds configured threshold
The agent will now add the
code.stacktrace
attribute to datastore spans when the duration exceeds the configured threshold. The threshold is configured using thetransaction_tracer.stack_trace_threshold
configuration option. PR#3220Feature: Consolidate "Unknown" constant values
All references to the various capitalization styles for "Unknown" have been consolidated into two constants:
NewRelic::UNKNOWN
andNewRelic::UNKNOWN_LOWER
. Thank you, @tsubasa1122, for your contribution! PR#3185Bugfix: Fix Brewfile source links
Previously, the multiverse README's links to the Brewfile were broken. Our thanks go to @emmanuel-ferdman for submitting a PR to fix them! PR#3191
Bugfix: Fix error when using HTTPX 1.5.0
The agent previously encountered an error when using the new HTTPX version 1.5.0. This was due to a change in the way HTTPX stores the response. The agent has been updated to handle this change correctly, and no longer encounters an error when using HTTPX 1.5.0. PR#3203
Bugfix: Bugfixes and improvements to debug level agent logs
Improves the information logged at the debug level by the agent when the agent reads in a configuration source. PR#3221
Bugfix: Fix risk of server-side forgery for Slack workflow script
Internally, we keep track of gems that are released using a GitHub actions workflow that posts updates on Slack. [@odaysec] identified a way we could reduce the risk of server-side forgery for this workflow. Thank you! PR#3184
Bugfix: Replace JSON.load calls with JSON.parse
Generally, JSON.parse is seen as safer than JSON.load. Thank you, @odaysec, for bringing this to our attention! PR#3183 PR#3230