lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb in opentelemetry-metrics-sdk-0.4.0 vs lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb in opentelemetry-metrics-sdk-0.4.1
- old
+ new
@@ -9,10 +9,10 @@
module Metrics
module Aggregation
NumberDataPoint = Struct.new(:attributes, # Hash{String => String, Numeric, Boolean, Array<String, Numeric, Boolean>}
:start_time_unix_nano, # Integer nanoseconds since Epoch
:time_unix_nano, # Integer nanoseconds since Epoch
- :value, # Integer
+ :value, # Numeric
:exemplars) # optional List of exemplars collected from measurements that were used to form the data point
end
end
end
end