struct OpenTelemetry::API::Context::Key

Included Modules

Defined in:

api/context/key.cr

Constructors

Instance Method Summary

Instance methods inherited from struct OpenTelemetry::API::AbstractContext::AbstractKey

<=>(other) <=>, context : Context context, get(context = Context.current) get, id : CSUUID id, name : String name, value value

Constructor methods inherited from struct OpenTelemetry::API::AbstractContext::AbstractKey

new(name = CSUUID.unique.to_s, context = Context.current, id = CSUUID.unique) new

Constructor Detail

def self.new(name : String = CSUUID.unique.to_s, context : OpenTelemetry::API::Context = Context.current, id : CSUUID = CSUUID.unique) #

Instance Method Detail

def <=>(other) #

def context : Context #

def get(context = Context.current) #

def id : CSUUID #

def name : String #

def value #