pub fn gather_metrics() -> Result<String, Error>
Gather and encode all metrics in Prometheus text format
Prometheus-formatted metrics as a String
Returns error if encoding fails