Decrements one or more stats counters >>> client = StatsdClient() >>> client.decrement('example.decrement')
(self, stats, sample_rate=1)
| 59 | self.count(stats, 1, sample_rate) |
| 60 | |
| 61 | def decrement(self, stats, sample_rate=1): |
| 62 | """ |
| 63 | Decrements one or more stats counters |
| 64 | |
| 65 | >>> client = StatsdClient() |
| 66 | >>> client.decrement('example.decrement') |
| 67 | """ |
| 68 | self.count(stats, -1, sample_rate) |
| 69 | |
| 70 | def count(self, stats, value, sample_rate=1): |
| 71 | """ |