newrelic-ruby-agent
newrelic-ruby-agent copied to clipboard
The instrumentation generator ought to include supportability metrics reporting
The Ruby content generated for new instrumentation by the instrumentation generator ought to leverage NewRelic::Agent.record_instrumentation_invocation to report supportability metrics.
Here's Sidekiq's for example:
INSTRUMENTATION_NAME = 'SidekiqClient'
NewRelic::Agent.record_instrumentation_invocation(INSTRUMENTATION_NAME)