Method: NewRelic::Agent::Attributes#add_agent_attribute
- Defined in:
- lib/new_relic/agent/attributes.rb
permalink #add_agent_attribute(key, value, default_destinations) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/new_relic/agent/attributes.rb', line 28 def add_agent_attribute(key, value, default_destinations) destinations = @filter.apply(key, default_destinations) return if destinations == AttributeFilter::DST_NONE @agent_destinations[key] = destinations add(@agent_attributes, key, value) end |