class OpenTelemetry::Event

Defined in:

event.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

def self.new(name : String) #

def self.new(name : String = "", &) #

Instance Method Detail

def [](key) #

def []=(key, value) #

def attributes : Hash(String, AnyAttribute) #

def attributes=(attr : Hash(String, _)) #

def get_attribute(key) #

def name : String #

def name=(name : String) #

def parent_span : Span | Nil #

def parent_span=(parent_span : Span | Nil) #

def set_attribute(key, value) #

def time_unix_nano #

def timestamp : Time::Span #

def timestamp=(timestamp : Time::Span) #

def to_json(json : JSON::Builder) #

def to_json #

def to_protobuf #

def wall_timestamp : Time #

def wall_timestamp=(wall_timestamp : Time) #