summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r--hosts/vidhar/prometheus/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index 7880154a..af8ad5a0 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -196,13 +196,13 @@ in {
196 expr = "timestamp(systemd_unit_start_time_seconds) - (systemd_unit_start_time_seconds > 0)"; 196 expr = "timestamp(systemd_unit_start_time_seconds) - (systemd_unit_start_time_seconds > 0)";
197 } 197 }
198 { record = "systemd_unit_runtime_seconds:resets_per_hour"; 198 { record = "systemd_unit_runtime_seconds:resets_per_hour";
199 expr = "resets(systemd_unit_start_time_seconds:uptime[1h])"; 199 expr = "resets(systemd_unit_runtime_seconds[1h])";
200 } 200 }
201 { record = "systemd_unit_runtime_seconds:resets_per_day"; 201 { record = "systemd_unit_runtime_seconds:resets_per_day";
202 expr = "resets(systemd_unit_start_time_seconds:uptime[1d])"; 202 expr = "resets(systemd_unit_runtime_seconds[1d])";
203 } 203 }
204 { record = "systemd_unit_runtime_seconds:resets_per_week"; 204 { record = "systemd_unit_runtime_seconds:resets_per_week";
205 expr = "resets(systemd_unit_start_time_seconds:uptime[1w])"; 205 expr = "resets(systemd_unit_runtime_seconds[1w])";
206 } 206 }
207 ]; 207 ];
208 } 208 }