newrelic / newrelic-ruby-agent

New Relic RPM Ruby Agent

Home Page:https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Active Support notifications for Active Support itself - handle messages related events properly

fallwith opened this issue · comments

Currently our agent is assuming that all Active Support notifications for the Active Support library's own API usage are caching related. For our segment naming and event payload processing, this assumption of caching will not work well for events that are messages related instead of caching related.

From the Rails documentation on notifications, note that Active Support events are grouped into either Caching or Messages. We should either split our Active Support instrumentation into 2 separate groups or make the existing single solution dynamic enough to handle both event groups.