Skip to content

Commit

Permalink
test change, do not commit
Browse files Browse the repository at this point in the history
Signed-off-by: Johnson Shih <jshih@microsoft.com>
  • Loading branch information
johnsonshih committed Oct 12, 2023
1 parent cc29959 commit 9cd798c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ serde_yaml = "0.8"
tokio = { version = "1.0.1", features = ["full"] }
tonic = "0.5.2"
tower = "0.4.8"
warp = "0.3.6"
warp = "0.3.4"

[dev-dependencies]
env_logger = "0.10.0"
Expand Down
5 changes: 4 additions & 1 deletion shared/src/akri/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ pub async fn run_metrics_server() -> Result<(), Box<dyn std::error::Error + Send
Ok(p) => p.parse::<u16>()?,
Err(_) => 8080,
};
info!("starting metrics server on port {} at /metrics", port);
info!(
"starting metrics server on port number {} at /metrics",
port
);
let metrics_route = warp::path!("metrics").and_then(metrics_handler);
warp::serve(metrics_route).run(([0, 0, 0, 0], port)).await;
Ok(())
Expand Down

0 comments on commit 9cd798c

Please sign in to comment.