MCPcopy
hub / github.com/prometheus/prometheus / LabelNames

Method LabelNames

tsdb/block.go:102–102  ·  view source on GitHub ↗

LabelNames returns all the unique label names present in the index in sorted order.

(ctx context.Context, matchers ...*labels.Matcher)

Source from the content-addressed store, hash-verified

100
101 // LabelNames returns all the unique label names present in the index in sorted order.
102 LabelNames(ctx context.Context, matchers ...*labels.Matcher) ([]string, error)
103
104 // LabelNamesFor returns all the label names for the series referred to by the postings.
105 // The names returned are sorted.

Implementers 7

mockIndextsdb/querier_test.go
mockMatcherIndextsdb/querier_test.go
mockReaderOfLabelstsdb/querier_test.go
OOOCompactionHeadIndexReadertsdb/ooo_head_read.go
blockIndexReadertsdb/block.go
headIndexReadertsdb/head_read.go
Readertsdb/index/index.go

Calls

no outgoing calls