Log timing information >>> client = StatsdClient() >>> client.timing('example.timing', 500) >>> client.timing(('example.timing23', 'example.timing29'), 500)
(self, stats, value)
| 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 | """ |
nothing calls this directly
no test coverage detected