prometheus/cmd/promtool
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
..
testdata Fix promtool check config not erroring properly on failures (#10952) 2022-07-01 14:38:49 +02:00
archive.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
debug.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
main.go delete redundant alias (#11180) 2022-08-31 15:50:38 +02:00
main_test.go Fix promtool check config not erroring properly on failures (#10952) 2022-07-01 14:38:49 +02:00
rules.go Optimise relabeling by re-using memory (#11147) 2022-08-19 15:27:52 +05:30
rules_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
sd.go no-default-scrape-port feature flag (#9523) 2022-07-20 13:35:47 +02:00
sd_test.go cmd/promtool: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
tsdb.go tsdb/index: use ScratchBuilder to create Labels 2022-12-19 15:22:09 +00:00
unittest.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
unittest_test.go Disable time based retention in tests (#8818) 2022-01-02 23:46:03 +01:00