This helper function issues an HTTP request to the Prometheus-exposition
format metrics endpoint, validates that it completes successfully and
returns the response body.
This helper function performs HTTP requests to the specified URL and
waits for the presence of vector_started-ish metric until the deadline
with even delays between attempts.