mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Scraping tests: refactor scrapeLoop creation
Pull boilerplate code into a function. Where appropriate we set some config on the returned object. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
59844498f7
commit
3e287e0170