class OpenTelemetry::API::Event

Defined in:

api/event.cr

Constructors

Instance Method Summary

Instance methods inherited from class OpenTelemetry::API::AbstractEvent

[](key) [], []=(key, value) []=, attributes : Hash(String, AnyAttribute) attributes, attributes=(attr : Hash(String, _)) attributes=, get_attribute(key) get_attribute, name : String name, name=(name : String) name=, parent_span : Span? parent_span, parent_span=(parent_span : Span?) parent_span=, set_attribute(key, value) set_attribute, timestamp : Time::Span timestamp, timestamp=(timestamp : Time::Span) timestamp=, to_json(json : JSON::Builder)
to_json
to_json
, to_protobuf to_protobuf, wall_timestamp : Time wall_timestamp, wall_timestamp=(wall_timestamp : Time) wall_timestamp=

Constructor methods inherited from class OpenTelemetry::API::AbstractEvent

new(name, attributes : Hash(String, AnyAttribute))
new(name, attributes : Hash(String, _))
new(name)
new(name = "", &)
new

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

def parent_span=(parent_span : Span?) #

def set_attribute(key, value) #

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