1
0

Fix wrong metrics name

This commit is contained in:
clerie 2023-01-04 00:38:49 +01:00
parent aebcde3808
commit acdb459d3a

View File

@ -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()
} }