MCPcopy
hub / github.com/benoitc/gunicorn / gauge

Method gauge

gunicorn/instrument/statsd.py:113–114  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

111 # statsD methods
112 # you can use those directly if you want
113 def gauge(self, name, value):
114 self._sock_send("{0}{1}:{2}|g".format(self.prefix, name, value))
115
116 def increment(self, name, value, sampling_rate=1.0):
117 self._sock_send("{0}{1}:{2}|c|@{3}".format(self.prefix, name, value, sampling_rate))

Callers 1

logMethod · 0.95

Calls 1

_sock_sendMethod · 0.95

Tested by

no test coverage detected