Skip to content

Commit

Permalink
Specify method namespace
Browse files Browse the repository at this point in the history
Add full namespace path for method needed to name a Roda transaction
  • Loading branch information
hannahramadan committed Aug 16, 2023
1 parent 956f652 commit add6965
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# New Relic Ruby Agent Release Notes

## dev
## v9.4.1

Version <dev> 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.
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.

## 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.

- **Feature: Add Roda instrumentation**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit add6965

Please sign in to comment.