From 70e41fc5ac008d623820dcacdbbcbedbd64ca11f Mon Sep 17 00:00:00 2001 From: Merrick Clay Date: Mon, 10 Jul 2023 16:50:16 -0600 Subject: [PATCH] improve incorrect doc comment Signed-off-by: Merrick Clay --- tsdb/head.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/head.go b/tsdb/head.go index a1d61fd6a..499be067a 100644 --- a/tsdb/head.go +++ b/tsdb/head.go @@ -977,7 +977,7 @@ func (h *Head) DisableNativeHistograms() { h.opts.EnableNativeHistograms.Store(false) } -// PostingsCardinalityStats returns top 10 highest cardinality stats By label and value names. +// PostingsCardinalityStats returns highest cardinality stats by label and value names. func (h *Head) PostingsCardinalityStats(statsByLabelName string, limit int) *index.PostingsStats { h.cardinalityMutex.Lock() defer h.cardinalityMutex.Unlock()