Browse Source

improve incorrect doc comment

Signed-off-by: Merrick Clay <merrick.e.clay@gmail.com>
pull/12542/head
Merrick Clay 1 year ago
parent
commit
70e41fc5ac
  1. 2
      tsdb/head.go

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

Loading…
Cancel
Save