Merge pull request #12542 from merrickclay/tsdb-doc-comment

improve incorrect doc comment
This commit is contained in:
Julien Pivotto 2023-07-11 13:10:04 +02:00 committed by GitHub
commit 8c8afec116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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