diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-06 17:08:25 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-12 16:24:51 +0000 |
commit | 22b37b75dbfa69fd90705d7aa3e5650eebb89b5f (patch) | |
tree | db930e157eac3ce04c6acf6f7b938c212ed7fd3a | |
parent | Use _ instead of . as a metric namespacing separator, for Prometheus (diff) | |
download | synapse-22b37b75dbfa69fd90705d7aa3e5650eebb89b5f.tar.xz |
Kill unused CounterMetric.fetch() method
Diffstat (limited to '')
-rw-r--r-- | synapse/metrics/metric.py | 3 |
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])] |