class OpenTelemetry::Metrics::Instrument::Counter

No-op implementation of Counter.

def add(increment, attributes: {}); end

Parameters:
  • attributes (Hash{String => String, Numeric, Boolean, Array}) --
  • increment (numeric) -- The increment amount, which MUST be a non-negative numeric value.
def add(increment, attributes: {}); end