Sha256: 47468503ccfa97b4700c530c7e5daa4b1576bd0a449f37d72617a2d53a7e32fe
Contents?: true
Size: 547 Bytes
Versions: 8
Compression:
Stored size: 547 Bytes
Contents
module PromMultiProc class Gauge < Collector def set(value, labels = {}) write("set".freeze, value, labels) end def inc(labels = {}) write("inc".freeze, 1, labels) end def dec(labels = {}) write("dec".freeze, 1, labels) end def add(value, labels = {}) write("add".freeze, value, labels) end def sub(value, labels = {}) write("sub".freeze, value, labels) end def set_to_current_time(labels = {}) write("set_to_current_time".freeze, 1, labels) end end end
Version data entries
8 entries across 8 versions & 1 rubygems