pub async fn load(url: &str) -> Result<String, Box<dyn Error>>
Expand description
This helper function issues an HTTP request to the Prometheus-exposition format metrics endpoint, validates that it completes successfully and returns the response body.