class OpenTelemetry::Propagation::W3CBaggage

Overview

Propagates Baggage through the W3C baggage header. Extraction processes the first 64 list members and up to 8192 wire bytes. Concurrency: stateless and safe for concurrent use.

Defined in:

api/propagation/w3c_baggage.cr

Constant Summary

BAGGAGE = "baggage"
MAX_BYTES = 8192
MAX_MEMBERS = 64

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

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]