mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-28 06:01:01 +01:00
Pull boilerplate code into a function. Where appropriate we set some config on the returned object. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>