improve incorrect doc comment

Signed-off-by: Merrick Clay <merrick.e.clay@gmail.com>
This commit is contained in:
Merrick Clay 2023-07-10 16:50:16 -06:00
parent 26c354de0b
commit 70e41fc5ac

View file

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