class OpenTelemetry::Event

Defined in:

event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, attributes : Hash(String, AnyAttribute)) #

[View source]
def self.new(name : String, attributes : Hash(String, _)) #

[View source]
def self.new(name : String) #

[View source]
def self.new(name : String = "", &) #

[View source]

Instance Method Detail

def [](key) #

[View source]
def []=(key, value) #

[View source]
def attributes : Hash(String, AnyAttribute) #

[View source]
def attributes=(attr : Hash(String, _)) #

[View source]
def get_attribute(key) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def parent_span : Span | Nil #

[View source]
def parent_span=(parent_span : Span | Nil) #

[View source]
def set_attribute(key, value) #

[View source]
def time_unix_nano #

[View source]
def timestamp : Time::Span #

[View source]
def timestamp=(timestamp : Time::Span) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def to_json #

[View source]
def to_protobuf #

[View source]
def wall_timestamp : Time #

[View source]
def wall_timestamp=(wall_timestamp : Time) #

[View source]