pub async fn spawn_api_server(
bind_address: SocketAddr,
task_group: TaskGroup,
) -> Result<()>Expand description
Spawns an HTTP server that exposes Prometheus metrics on /metrics.
pub async fn spawn_api_server(
bind_address: SocketAddr,
task_group: TaskGroup,
) -> Result<()>Spawns an HTTP server that exposes Prometheus metrics on /metrics.