summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-06 17:08:25 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-12 16:24:51 +0000
commit22b37b75dbfa69fd90705d7aa3e5650eebb89b5f (patch)
treedb930e157eac3ce04c6acf6f7b938c212ed7fd3a /synapse
parentUse _ instead of . as a metric namespacing separator, for Prometheus (diff)
downloadsynapse-22b37b75dbfa69fd90705d7aa3e5650eebb89b5f.tar.xz
Kill unused CounterMetric.fetch() method
Diffstat (limited to '')
-rw-r--r--synapse/metrics/metric.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/metrics/metric.py b/synapse/metrics/metric.py
index 17cd673891..93508eeacc 100644
--- a/synapse/metrics/metric.py
+++ b/synapse/metrics/metric.py
@@ -73,9 +73,6 @@ class CounterMetric(BaseMetric):
         else:
             self.counts[values] += 1
 
-    def fetch(self):
-        return dict(self.counts)
-
     def render_item(self, k):
         return ["%s%s %d" % (self.name, self._render_key(k), self.counts[k])]