diff --git a/src/daemon/http/server.rs b/src/daemon/http/server.rs index a37acdc3..05508c06 100644 --- a/src/daemon/http/server.rs +++ b/src/daemon/http/server.rs @@ -604,14 +604,14 @@ pub async fn metrics(req: Request) -> RoutingResult { } res.push('\n'); - res.push_str("# HELP krill_ca_repo_next_before_time unix timestamp in seconds of next planned CA to Publication Server connection\n"); - res.push_str("# TYPE krill_ca_repo_next_before_time gauge\n"); + res.push_str("# HELP krill_ca_repo_next_planned_time unix timestamp in seconds of next planned CA to Publication Server connection (unless e.g. ROAs are changed)\n"); + res.push_str("# TYPE krill_ca_repo_next_planned_time gauge\n"); for (ca, status) in ca_repo_status.iter() { // skip the ones for which we have no status yet, i.e it was really only just added // and no attempt to connect has yet been made. let timestamp = status.next_exchange_before(); res.push_str(&format!( - "krill_ca_repo_next_before_time{{ca=\"{}\"}} {}\n", + "krill_ca_repo_next_planned_time{{ca=\"{}\"}} {}\n", ca, timestamp )); }