Class: Evil::Metrics::Gauge
Overview
Arbitrary value
Instance Attribute Summary
Attributes inherited from Metric
#comment, #group, #name, #per, #unit
Instance Method Summary collapse
Methods inherited from Metric
Constructor Details
This class inherits a constructor from Evil::Metrics::Metric
Instance Method Details
#set(tags, value) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/evil/metrics/gauge.rb', line 7 def set(, value) values[] = value ::Evil::Metrics.adapters.each do |_, adapter| adapter.perform_gauge_set!(self, , value) end value end |