Struct opentelemetry_datadog::DatadogPropagator [−][src]
pub struct DatadogPropagator { /* fields omitted */ }
Expand description
Extracts and injects SpanContext
s into Extractor
s or Injector
s using Datadog’s header format.
The Datadog header format does not have an explicit spec, but can be divined from the client libraries, such as dd-trace-go
Example
use opentelemetry::global; use opentelemetry_datadog::DatadogPropagator; global::set_text_map_propagator(DatadogPropagator::default());
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DatadogPropagator
impl Send for DatadogPropagator
impl Sync for DatadogPropagator
impl Unpin for DatadogPropagator
impl UnwindSafe for DatadogPropagator
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V