diff --git a/CHANGELOG.md b/CHANGELOG.md index debcac9296..107ea6dad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # New Relic Ruby Agent Release Notes +## v9.4.1 + +Version 9.4.1 of the agent resolves a `NoMethodError` introduced in 9.4.0. + +- **Bugfix: Resolve NoMethodError** + + Ruby agent 9.4.0 introduced [Roda instrumentation](https://github.com/newrelic/newrelic-ruby-agent/pull/2144), which caused a `NoMethodError` to be raised when attempting to name a Roda transaction. This has been fixed. Thanks to [@spickermann](https://github.com/spickermann) for reporting this issue. [PR#2167](https://github.com/newrelic/newrelic-ruby-agent/pull/2167) + ## v9.4.0 Version 9.4.0 of the agent adds [Roda](https://roda.jeremyevans.net/) instrumentation, adds a new `allow_all_headers` configuration option to permit capturing all HTTP headers, introduces improved error tracking functionality by associating a transaction id with each error, and uses more reliable network timeout logic. diff --git a/lib/new_relic/agent/instrumentation/roda/instrumentation.rb b/lib/new_relic/agent/instrumentation/roda/instrumentation.rb index 07adb10236..eee6352c98 100644 --- a/lib/new_relic/agent/instrumentation/roda/instrumentation.rb +++ b/lib/new_relic/agent/instrumentation/roda/instrumentation.rb @@ -41,7 +41,7 @@ def rack_request_params def _roda_handle_main_route_with_tracing(*args) perform_action_with_newrelic_trace( category: :roda, - name: TransactionNamer.transaction_name(request), + name: ::NewRelic::Agent::Instrumentation::Roda::TransactionNamer.transaction_name(request), params: ::NewRelic::Agent::ParameterFiltering::apply_filters(request.env, rack_request_params) ) do yield