Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails notifications: subscribe to additional ActionController topics #1510

Closed
fallwith opened this issue Sep 30, 2022 · 1 comment · Fixed by #1744
Closed

Rails notifications: subscribe to additional ActionController topics #1510

fallwith opened this issue Sep 30, 2022 · 1 comment · Fixed by #1744
Assignees
Labels
rails Issues related to the Ruby on Rails framework

Comments

@fallwith
Copy link
Contributor

fallwith commented Sep 30, 2022

We currently subscribe to a single ActionController related topic, process_action.action_controller via lib/new_relic/agent/instrumentation/rails_notifications/action_controller.rb. We should be subscribing to these others as well:

  • start_processing.action_controller
  • send_file.action_controller
  • send_data.action_controller
  • redirect_to.action_controller
  • halted_callback.action_controller
  • unpermitted_parameters.action_controller

Our subscription method is regex based, so we could potentially use /\.action_controller$/.

So the regex here would simply be altered so that it could match the existing process_action.action_controller topic AND all of the other topic listed above.

Resources:

@workato-integration
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rails Issues related to the Ruby on Rails framework
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants