mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Kill unused CounterMetric.fetch() method
This commit is contained in:
parent
b0cf867319
commit
22b37b75db
@ -73,9 +73,6 @@ class CounterMetric(BaseMetric):
|
|||||||
else:
|
else:
|
||||||
self.counts[values] += 1
|
self.counts[values] += 1
|
||||||
|
|
||||||
def fetch(self):
|
|
||||||
return dict(self.counts)
|
|
||||||
|
|
||||||
def render_item(self, k):
|
def render_item(self, k):
|
||||||
return ["%s%s %d" % (self.name, self._render_key(k), self.counts[k])]
|
return ["%s%s %d" % (self.name, self._render_key(k), self.counts[k])]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user