class OpenTelemetry::Propagation::B3

Overview

Extracts either B3 format and injects the configured format. Forwards ID-less debug (d) when there is no active span with valid IDs. ID-less debug leaves the local sampling decision to the sampler. Concurrency: immutable and safe for concurrent use.

Defined in:

api/propagation/b3.cr

Constructors

Instance Method Summary

Instance methods inherited from class OpenTelemetry::Propagation::TextMapPropagator

extract(carrier, context : Context = Context.current, getter = DEFAULT_GETTER) : Context extract, fields : Array(String) fields, inject(carrier, context : Context = Context.current, setter = DEFAULT_SETTER) : Nil inject

Constructor Detail

def self.new(inject_format : Format = Format::Single) #

[View source]

Instance Method Detail

def extract(carrier, context : Context = Context.current, getter = DEFAULT_GETTER) : Context #
Description copied from class OpenTelemetry::Propagation::TextMapPropagator

Implementations report errors and return context on invalid input.


[View source]
def fields : Array(String) #

[View source]
def inject(carrier, context : Context = Context.current, setter = DEFAULT_SETTER) : Nil #

[View source]