Class: Instana::Exporter::Otlp::BaseConverter::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/instana/exporter/otlp/base_converter.rb

Overview

Represents a span event (mirrors OpenTelemetry::SDK::Trace::Event)

Fields:

name       [String]  - event name
attributes [Hash]    - key/value attributes attached to the event
timestamp  [Integer] - Unix nanoseconds

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



41
42
43
# File 'lib/instana/exporter/otlp/base_converter.rb', line 41

def attributes
  @attributes
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



41
42
43
# File 'lib/instana/exporter/otlp/base_converter.rb', line 41

def name
  @name
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



41
42
43
# File 'lib/instana/exporter/otlp/base_converter.rb', line 41

def timestamp
  @timestamp
end