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) #

[View source]

Instance Method Detail

def <=>(other) #

[View source]
def context : Context #

[View source]
def get(context = Context.current) #

[View source]
def id : CSUUID #

[View source]
def name : String #

[View source]
def value #

[View source]