diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-22 09:43:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 09:43:26 +0100 |
commit | 9a685d60aeb6ff1d65e7115d2975ce34d1c46727 (patch) | |
tree | fd9f8e2a1b00e2fa1df428345d5628921ac5c05f /synapse/metrics/__init__.py | |
parent | Pass around the reactor explicitly (#3385) (diff) | |
parent | Fix description of "python_gc_time" metric (diff) | |
download | synapse-9a685d60aeb6ff1d65e7115d2975ce34d1c46727.tar.xz |
Merge pull request #3418 from matrix-org/rav/fix_metric_desc
Fix description of "python_gc_time" metric
Diffstat (limited to 'synapse/metrics/__init__.py')
-rw-r--r-- | synapse/metrics/__init__.py | 2 |
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) |