Method: NewRelic::Agent::JavaScriptInstrumentor#append_agent_attributes!
- Defined in:
- lib/new_relic/agent/javascript_instrumentor.rb
#append_agent_attributes!(txn, atts) ⇒ Object
196 197 198 199 200 201 |
# File 'lib/new_relic/agent/javascript_instrumentor.rb', line 196 def append_agent_attributes!(txn, atts) agent_attributes = txn.attributes.agent_attributes_for(NewRelic::Agent::AttributeFilter::DST_BROWSER_MONITORING) unless agent_attributes.empty? atts[ATTS_AGENT_SUBKEY] = agent_attributes end end |