Class: OpenTelemetry::Metrics::Instrument::UpDownCounter
- Inherits:
-
Object
- Object
- OpenTelemetry::Metrics::Instrument::UpDownCounter
- Defined in:
- lib/opentelemetry/metrics/instrument/up_down_counter.rb
Overview
No-op implementation of UpDownCounter.
Instance Method Summary collapse
-
#add(amount, attributes: nil) ⇒ Object
Increment or decrement the UpDownCounter by a fixed amount.
Instance Method Details
#add(amount, attributes: nil) ⇒ Object
Increment or decrement the UpDownCounter by a fixed amount.
19 |
# File 'lib/opentelemetry/metrics/instrument/up_down_counter.rb', line 19 def add(amount, attributes: nil); end |