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

Provide additional key VM stats scoped to a transaction as agent attributes on the transaction

fallwith opened this issue · comments

We have #2352 for a comprehensive look at improving our VM stats offerings. And New Relic could benefit from an even broader look at how it presents VM stats for all languages.

But for this innovation idea, let's keep things smaller and accomplishable with just the Ruby agent code base. Perhaps a predefined list - which can be overridden by a customer specified list - will drive readings that are taken by the transaction creating thread at transaction start time and taken again at transaction completion time. These readings will then be associated with the transaction as agent attributes. The presence of these attributes could drive queries and alerts for the short term and possibly roll back into larger UI backed initiatives later.