Method: NewRelic::Agent::Transaction.nested_transaction_name

Defined in:
lib/new_relic/agent/transaction.rb

.nested_transaction_name(name) ⇒ Object

[View source]

126
127
128
129
130
131
132
# File 'lib/new_relic/agent/transaction.rb', line 126

def self.nested_transaction_name(name)
  if name.start_with?(CONTROLLER_PREFIX, OTHER_TRANSACTION_PREFIX)
    "#{NESTED_TRANSACTION_PREFIX}#{name}"
  else
    name
  end
end