Fix description of "python_gc_time" metric

pull/3418/head
Richard van der Hoff 2018-06-21 10:02:42 +01:00
parent 02bfc581f8
commit cbbfaa4be8
1 changed files with 1 additions and 1 deletions

View File

@ -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)