lib/opentelemetry/metrics/instrument/histogram.rb in opentelemetry-metrics-api-0.1.0 vs lib/opentelemetry/metrics/instrument/histogram.rb in opentelemetry-metrics-api-0.1.1

- old
+ new

@@ -14,10 +14,10 @@ # @param [numeric] amount The amount of the Measurement, which MUST be a non-negative numeric value. # @param [Hash{String => String, Numeric, Boolean, Array<String, Numeric, Boolean>}] attributes # Values must be non-nil and (array of) string, boolean or numeric type. # Array values must not contain nil elements and all elements must be of # the same basic type (string, numeric, boolean). - def record(amount, attributes: nil); end + def record(amount, attributes: {}); end end end end end