Method: NewRelic::Agent::Transaction.add_agent_attribute
- Defined in:
- lib/new_relic/agent/transaction.rb
.add_agent_attribute(key, value, default_destinations) ⇒ Object
175 176 177 178 179 180 181 |
# File 'lib/new_relic/agent/transaction.rb', line 175 def self.add_agent_attribute(key, value, default_destinations) if txn = tl_current txn.add_agent_attribute(key, value, default_destinations) else NewRelic::Agent.logger.debug("Attempted to add agent attribute: #{key} without transaction") end end |