newrelic / newrelic-ruby-agent

New Relic RPM Ruby Agent
https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/
Apache License 2.0
1.2k stars 598 forks source link

Create meaningful telemetry related to `*_runtime` Action Controller attributes #2932

Open kaylareopelle opened 2 weeks ago

kaylareopelle commented 2 weeks ago

The db_runtime and view_runtime attributes are generated by Rails and attached to the process_action.action_controller notification.

These attributes sum up the ms spent on DB-related actions and view-related actions respectively.

https://guides.rubyonrails.org/active_support_instrumentation.html#process-action-action-controller

Let's understand the value of these attributes more deeply and emit telemetry that leverages them.

workato-integration[bot] commented 2 weeks ago

https://new-relic.atlassian.net/browse/NR-336047