pub fn gather_metrics() -> Result<String, Box<dyn Error>>
Generate metrics output in Prometheus format