Class: OpenTelemetry::Metrics::Measurement

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/metrics/measurement.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



9
10
11
# File 'lib/opentelemetry/metrics/measurement.rb', line 9

def attributes
  @attributes
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/opentelemetry/metrics/measurement.rb', line 9

def value
  @value
end