pub fn create_metrics_server( port: u16, ) -> (JoinHandle<Result<(), Box<dyn Error + Send + Sync>>>, Sender<()>)
Create a metrics server with the given port