class

OpenTelemetry::API::Event

Inherits OpenTelemetry::API::AbstractEvent / Reference / Object

Constructors

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

Instance methods

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