Class: Instana::Exporter::Otlp::BaseConverter::ResourceAdapter

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

Overview

Adapter to make resource objects compatible with OTLP exporter expectations

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



44
45
46
# File 'lib/instana/exporter/otlp/base_converter.rb', line 44

def attributes
  @attributes
end

Instance Method Details

#attribute_enumeratorEnumerator

Returns Iterator over resource attributes.

Returns:

  • (Enumerator)

    Iterator over resource attributes



46
47
48
# File 'lib/instana/exporter/otlp/base_converter.rb', line 46

def attribute_enumerator
  attributes.each
end