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