Class: OpenTelemetry::Metrics::Instrument::Gauge
- Inherits:
-
Object
- Object
- OpenTelemetry::Metrics::Instrument::Gauge
- Defined in:
- lib/opentelemetry/metrics/instrument/gauge.rb
Overview
No-op implementation of Gauge.
Instance Method Summary collapse
-
#record(amount, attributes: {}) ⇒ Object
Record the current value for the Gauge.
Instance Method Details
#record(amount, attributes: {}) ⇒ Object
Record the current value for the Gauge
19 |
# File 'lib/opentelemetry/metrics/instrument/gauge.rb', line 19 def record(amount, attributes: {}); end |