Method: NewRelic::Agent::Attributes#merge_custom_attributes
- Defined in:
- lib/new_relic/agent/attributes.rb
permalink #merge_custom_attributes(other) ⇒ Object
58 59 60 61 62 63 64 65 |
# File 'lib/new_relic/agent/attributes.rb', line 58 def merge_custom_attributes(other) return unless Agent.config[:'custom_attributes.enabled'] return if other.empty? AttributeProcessing.flatten_and_coerce(other) do |k, v| add_custom_attribute(k, v) end end |