MCPcopy Index your code
hub / github.com/statsd/statsd / gauge

Method gauge

examples/python_example.py:31–39  ·  view source on GitHub ↗

Log gauges >>> client = StatsdClient() >>> client.gauge('example.gauge', 47) >>> client.gauge(('example.gauge41', 'example.gauge43'), 47)

(self, stats, value)

Source from the content-addressed store, hash-verified

29 self.update_stats(stats, value, self.SC_TIMING)
30
31 def gauge(self, stats, value):
32 """
33 Log gauges
34
35 >>> client = StatsdClient()
36 >>> client.gauge('example.gauge', 47)
37 >>> client.gauge(('example.gauge41', 'example.gauge43'), 47)
38 """
39 self.update_stats(stats, value, self.SC_GAUGE)
40
41 def set(self, stats, value):
42 """

Callers

nothing calls this directly

Calls 1

update_statsMethod · 0.95

Tested by

no test coverage detected