prometheus/scrape
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
Patterned after `Chunk.Iterator()`: pass the old iterator in so it
can be re-used to avoid allocating a new object.

(This commit does not do any re-use; it is just changing all the method
signatures so re-use is possible in later commits.)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-12-15 18:32:45 +00:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
helpers_test.go Merge branch 'main' into sparsehistogram 2022-08-10 17:54:37 +02:00
manager.go Enable protobuf negotiation only when histograms are enabled 2022-10-12 13:27:22 +05:30
manager_test.go scrape tests: undo EmptyLabels change 2022-09-09 13:34:49 +02:00
scrape.go Report error if the series contains invalid metric names or labels during scrape 2022-12-08 20:01:20 +08:00
scrape_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
target.go Optimise relabeling by re-using memory (#11147) 2022-08-19 15:27:52 +05:30
target_test.go Optimise relabeling by re-using memory (#11147) 2022-08-19 15:27:52 +05:30