Method: NewRelic::Agent::CrossAppTracing#insert_cross_app_header
- Defined in:
- lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb
permalink #insert_cross_app_header(headers) ⇒ Object
[View source]
53 54 55 56 57 58 59 60 61 62 |
# File 'lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb', line 53 def insert_cross_app_header(headers) return unless CrossAppTracing.cross_app_enabled? @is_cross_app_caller = true txn_guid = transaction.guid trip_id = cat_trip_id path_hash = cat_path_hash insert_request_headers(headers, txn_guid, trip_id, path_hash) end |