mirror of https://github.com/prometheus/prometheus
Merge pull request #12542 from merrickclay/tsdb-doc-comment
improve incorrect doc commentpull/12546/head
commit
8c8afec116
|
@ -977,7 +977,7 @@ func (h *Head) DisableNativeHistograms() {
|
||||||
h.opts.EnableNativeHistograms.Store(false)
|
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 {
|
func (h *Head) PostingsCardinalityStats(statsByLabelName string, limit int) *index.PostingsStats {
|
||||||
h.cardinalityMutex.Lock()
|
h.cardinalityMutex.Lock()
|
||||||
defer h.cardinalityMutex.Unlock()
|
defer h.cardinalityMutex.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue