mirror of
https://github.com/chylex/Apache-Prometheus-Exporter.git
synced 2025-04-19 02:15:41 +02:00
Improve logs when starting web server
This commit is contained in:
parent
9d1059153d
commit
e4fc38538d
@ -23,7 +23,7 @@ pub fn create_web_server(host: &str, port: u16, metrics_registry: Mutex<Registry
|
||||
let server = server.workers(1);
|
||||
let server = server.bind((host, port));
|
||||
|
||||
println!("[WebServer] Starting web server on http://{}:{}", host, port);
|
||||
println!("[WebServer] Starting web server on {0}:{1} with metrics endpoint: http://{0}:{1}/metrics", host, port);
|
||||
return server.unwrap().run();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user