abstract class OpenTelemetry::API::AbstractEvent

Direct Known Subclasses

Defined in:

api/abstract_event.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

This version converts the hash values to AnyAttributes.


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

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

[View source]

Instance Method Detail

abstract def [](key) #

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

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

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

[View source]
abstract def get_attribute(key) #

[View source]
abstract def name : String #

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

[View source]
abstract def parent_span : Span | Nil #

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

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

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

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

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

[View source]
abstract def to_json #

[View source]
abstract def to_protobuf #

[View source]
abstract def wall_timestamp : Time #

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

[View source]