summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-06-21 10:02:42 +0100
committerRichard van der Hoff <richard@matrix.org>2018-06-21 10:02:42 +0100
commitcbbfaa4be86f1428e9d55f3b387a167fc36e4aa4 (patch)
treef2f2c334678d6566dec95ee522df19dbe2e4f27c
parentMerge pull request #3399 from costacruise/master (diff)
downloadsynapse-cbbfaa4be86f1428e9d55f3b387a167fc36e4aa4.tar.xz
Fix description of "python_gc_time" metric
-rw-r--r--synapse/metrics/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index 7f76969467..7d6e0232ed 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -140,7 +140,7 @@ gc_time = Histogram(
 class GCCounts(object):
 
     def collect(self):
-        cm = GaugeMetricFamily("python_gc_counts", "GC cycle counts", labels=["gen"])
+        cm = GaugeMetricFamily("python_gc_counts", "GC object counts", labels=["gen"])
         for n, m in enumerate(gc.get_count()):
             cm.add_metric([str(n)], m)