Updates one or more stats counters by arbitrary value >>> client = StatsdClient() >>> client.count('example.counter', 17)
(self, stats, value, sample_rate=1)
| 68 | self.count(stats, -1, sample_rate) |
| 69 | |
| 70 | def count(self, stats, value, sample_rate=1): |
| 71 | """ |
| 72 | Updates one or more stats counters by arbitrary value |
| 73 | |
| 74 | >>> client = StatsdClient() |
| 75 | >>> client.count('example.counter', 17) |
| 76 | """ |
| 77 | self.update_stats(stats, value, self.SC_COUNT, sample_rate) |
| 78 | |
| 79 | def update_stats(self, stats, value, _type, sample_rate=1): |
| 80 | """ |
no test coverage detected