Print direct link to metrics endpoint on startup

This commit is contained in:
clerie 2024-07-21 12:40:17 +02:00
parent a1bcaf93d1
commit 61d1b5454b

View File

@ -121,6 +121,7 @@ async fn main() {
let listener = tokio::net::TcpListener::bind(listen).await.unwrap();
println!("Server listening on: http://{}", listener.local_addr().unwrap());
println!("Matrics exposed as: http://{}/metrics", listener.local_addr().unwrap());
axum::serve(listener, app).await.unwrap();
}