Class: Datadog::Tracing::Contrib::Sidekiq::Distributed::Propagation
- Inherits:
-
Distributed::Propagation
- Object
- Distributed::Propagation
- Datadog::Tracing::Contrib::Sidekiq::Distributed::Propagation
- Defined in:
- lib/datadog/tracing/contrib/sidekiq/distributed/propagation.rb
Overview
Extracts and injects propagation through HTTP headers.
Instance Method Summary collapse
-
#initialize ⇒ Propagation
constructor
A new instance of Propagation.
Methods inherited from Distributed::Propagation
Constructor Details
#initialize ⇒ Propagation
Returns a new instance of Propagation.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/datadog/tracing/contrib/sidekiq/distributed/propagation.rb', line 19 def initialize super( propagation_styles: { Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_MULTI_HEADER => Tracing::Distributed::B3Multi.new(fetcher: Tracing::Distributed::Fetcher), Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_SINGLE_HEADER => Tracing::Distributed::B3Single.new(fetcher: Tracing::Distributed::Fetcher), Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_DATADOG => Tracing::Distributed::Datadog.new(fetcher: Tracing::Distributed::Fetcher), Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_TRACE_CONTEXT => Tracing::Distributed::TraceContext.new(fetcher: Tracing::Distributed::Fetcher), Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_NONE => Tracing::Distributed::None.new }) end |