Class: OpenTelemetry::SDK::Trace::Event
- Inherits:
-
Struct
- Object
- Struct
- OpenTelemetry::SDK::Trace::Event
- Defined in:
- lib/opentelemetry/sdk/trace/event.rb
Overview
A text annotation with a set of attributes and a timestamp for export.
Field types are as follows: name: String attributes: frozen Hash=> String, Numeric, Boolean, Array<String, Numeric, Boolean> timestamp: Integer nanoseconds since Epoch
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#name ⇒ Object
Returns the value of attribute name.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
16 17 18 |
# File 'lib/opentelemetry/sdk/trace/event.rb', line 16 def attributes @attributes end |
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/opentelemetry/sdk/trace/event.rb', line 16 def name @name end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
16 17 18 |
# File 'lib/opentelemetry/sdk/trace/event.rb', line 16 def @timestamp end |