diff --git a/src/main.rs b/src/main.rs index 216b278..6982a45 100644 --- a/src/main.rs +++ b/src/main.rs @@ -170,6 +170,7 @@ async fn main() -> Result<(), ()> { .route("/metrics", get(metrics_handler)) .with_state(config); + println!("running at 0.0.0.0:6534"); let _ = axum::Server::bind(&"0.0.0.0:6534".parse().unwrap()) .serve(app.into_make_service()) .await; @@ -201,11 +202,13 @@ async fn metrics(config: Config) -> Result, WsError> { if config.groups.is_some() { for (name, group) in config.groups.unwrap() { + println!("scanning group {}", &name); let _ = group_metrics(&client, &auth_cookie, name, group).await; } } if config.worlds.is_some() { for (name, id) in config.worlds.unwrap() { + println!("scanning world {}", &name); let _ = world_metrics(&client, &auth_cookie, name, id).await; } }