prometheus/tsdb/index
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels
This necessitates a change to the `tsdb.IndexReader` interface:
`index.Reader` is used from multiple goroutines concurrently, so we
can't have state in it.

We do retain a `ScratchBuilder` in `blockBaseSeriesSet` which is
iterator-like.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-12-19 15:22:09 +00:00
..
index.go tsdb/index: use ScratchBuilder to create Labels 2022-12-19 15:22:09 +00:00
index_test.go tsdb/index: use ScratchBuilder to create Labels 2022-12-19 15:22:09 +00:00
postings.go Update package tsdb/index for new labels.Labels type 2022-12-19 15:22:09 +00:00
postings_test.go Tidy postingsWithIndexHeap (#10123) 2022-01-06 16:03:44 +05:30
postingsstats.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
postingsstats_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00