struct OpenTelemetry::Propagation::DefaultGetter

Overview

Reads header-like carriers. Custom getters can implement the same methods for other carriers. Concurrency: stateless. The caller is responsible for the carrier's concurrency rules.

Defined in:

api/propagation/getter_setter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def get(carrier, key : String) : String | Nil #

Returns the first value for key, or nil.


[View source]
def get_all(carrier, key : String) : Array(String) #

Returns all values for key in carrier order.


[View source]
def initialize #

[View source]
def keys(carrier) : Array(String) #

[View source]