summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-06-22 09:43:26 +0100
committerGitHub <noreply@github.com>2018-06-22 09:43:26 +0100
commit9a685d60aeb6ff1d65e7115d2975ce34d1c46727 (patch)
treefd9f8e2a1b00e2fa1df428345d5628921ac5c05f
parentPass around the reactor explicitly (#3385) (diff)
parentFix description of "python_gc_time" metric (diff)
downloadsynapse-9a685d60aeb6ff1d65e7115d2975ce34d1c46727.tar.xz
Merge pull request #3418 from matrix-org/rav/fix_metric_desc
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)