prometheus/scrape
Bryan Boreham 0c09c3feb0 scrape sync: avoid copy of labels for dropped targets
Since the Target object was just created in this function, nobody else
has a reference to it and there are no concerns about it being modified
concurrently so we don't need to copy the value.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-16 20:35:13 +00:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
helpers_test.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
manager_test.go Merge pull request #12048 from bboreham/faster-targets 2023-03-09 11:10:01 +00:00
manager.go Add include scrape configs 2023-03-06 23:35:39 +01:00
scrape_test.go Update our own dependencies, support proxy from env 2023-03-08 12:00:17 +01:00
scrape.go scrape sync: avoid copy of labels for dropped targets 2023-03-16 20:35:13 +00:00
target_test.go scrape: add Target.LabelsRange 2023-03-16 20:35:13 +00:00
target.go scrape: add Target.LabelsRange 2023-03-16 20:35:13 +00:00