Rename prometheus valid metric
This commit is contained in:
parent
b89910f649
commit
19120d4d0a
@ -260,6 +260,6 @@ async fn check(State(app_state): State<AppState>, Query(params): Query<HashMap<S
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
StatusCode::OK,
|
StatusCode::OK,
|
||||||
format!("nixos_current_system_valid{{}} {}\n", status)
|
format!("nixos_current_system_is_sync{{}} {}\n", status)
|
||||||
).into_response();
|
).into_response();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user