pub fn get_metrics() -> Result<String>
Returns all registered metrics encoded in Prometheus text format.