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 =
"", &)
#
Instance Method Detail
def
attributes : Hash(
String, AnyAttribute)
#
def
attributes=(attr : Hash(
String, _))
#
def
parent_span :
Span | Nil
#
def
parent_span=(parent_span :
Span | Nil)
#
def
set_attribute(key, value)
#
def
timestamp : Time::Span
#
def
timestamp=(timestamp : Time::Span)
#
def
to_json(json : JSON::Builder)
#
def
wall_timestamp : Time
#
def
wall_timestamp=(wall_timestamp : Time)
#