Fix wrong metrics name
This commit is contained in:
parent
aebcde3808
commit
acdb459d3a
@ -76,6 +76,6 @@ async fn metrics() -> Response {
|
|||||||
|
|
||||||
(
|
(
|
||||||
StatusCode::OK,
|
StatusCode::OK,
|
||||||
format!("nixos_nixos_current_system_hash{{hash=\"{}\"}} 1\nnixos_current_system_name{{name=\"{}\"}} 1\n", hash, name)
|
format!("nixos_current_system_hash{{hash=\"{}\"}} 1\nnixos_current_system_name{{name=\"{}\"}} 1\n", hash, name)
|
||||||
).into_response()
|
).into_response()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user