Class: OpenTelemetry::SDK::Metrics::Aggregation::NumberDataPoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb

Overview

Hash=> String, Numeric, Boolean, Array<String, Numeric, Boolean>

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



11
12
13
# File 'lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb', line 11

def attributes
  @attributes
end

#exemplarsObject

Returns the value of attribute exemplars

Returns:

  • (Object)

    the current value of exemplars



11
12
13
# File 'lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb', line 11

def exemplars
  @exemplars
end

#start_time_unix_nanoObject

Returns the value of attribute start_time_unix_nano

Returns:

  • (Object)

    the current value of start_time_unix_nano



11
12
13
# File 'lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb', line 11

def start_time_unix_nano
  @start_time_unix_nano
end

#time_unix_nanoObject

Returns the value of attribute time_unix_nano

Returns:

  • (Object)

    the current value of time_unix_nano



11
12
13
# File 'lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb', line 11

def time_unix_nano
  @time_unix_nano
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



11
12
13
# File 'lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb', line 11

def value
  @value
end