Method: NewRelic::Agent::Instrumentation::ActionMailboxSubscriber#metric_name

Defined in:
lib/new_relic/agent/instrumentation/action_mailbox_subscriber.rb

#metric_name(name, payload) ⇒ Object


11
12
13
14
15
# File 'lib/new_relic/agent/instrumentation/action_mailbox_subscriber.rb', line 11

def metric_name(name, payload)
  mailbox = payload[:mailbox].class.name
  method = method_from_name(name)
  "Ruby/ActionMailbox/#{mailbox}/#{method}"
end