class Evil::Metrics::Prometheus::CounterWrapper

Public Instance Methods

increment(labels = {}, by = 1) click to toggle source
# File lib/evil/metrics/prometheus/counter_wrapper.rb, line 12
def increment(labels = {}, by = 1)
  metric.increment(labels, by: by)
end
type() click to toggle source
# File lib/evil/metrics/prometheus/counter_wrapper.rb, line 8
def type
  :counter
end