Method: ElasticAPM::Metrics::Gauge#initialize
- Defined in:
- lib/elastic_apm/metrics/metric.rb
#initialize(key, **args) ⇒ Gauge
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Gauge.
113 114 115 |
# File 'lib/elastic_apm/metrics/metric.rb', line 113 def initialize(key, **args) super(key, initial_value: 0, **args) end |