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

Method timing

examples/python_example.py:21–29  ·  view source on GitHub ↗

Log timing information >>> client = StatsdClient() >>> client.timing('example.timing', 500) >>> client.timing(('example.timing23', 'example.timing29'), 500)

(self, stats, value)

Source from the content-addressed store, hash-verified

19 self.addr = (host, port)
20
21 def timing(self, stats, value):
22 """
23 Log timing information
24
25 >>> client = StatsdClient()
26 >>> client.timing('example.timing', 500)
27 >>> client.timing(('example.timing23', 'example.timing29'), 500)
28 """
29 self.update_stats(stats, value, self.SC_TIMING)
30
31 def gauge(self, stats, value):
32 """

Callers

nothing calls this directly

Calls 1

update_statsMethod · 0.95

Tested by

no test coverage detected