summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-04-05 14:15:09 +0100
committerErik Johnston <erik@matrix.org>2017-04-05 14:15:09 +0100
commit3f213d908d82a02794dd0a06db4d7ac956fa0db3 (patch)
treebc1caa1b03549a80b1459b7b6edfbd7b2c5a7266 /synapse/metrics
parentFix typo (diff)
downloadsynapse-3f213d908d82a02794dd0a06db4d7ac956fa0db3.tar.xz
Rearrange metrics
Diffstat (limited to 'synapse/metrics')
-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 920cde1dd0..e87b2b80a7 100644
--- a/synapse/metrics/metric.py
+++ b/synapse/metrics/metric.py
@@ -83,9 +83,6 @@ class CounterMetric(BaseMetric):
     def render(self):
         return map_concat(self.render_item, sorted(self.counts.keys()))
 
-    def unregister_counter(self, *values):
-        self.counts.pop(values, None)
-
 
 class CallbackMetric(BaseMetric):
     """A metric that returns the numeric value returned by a callback whenever