summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-06 21:07:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-06 21:07:26 +0100
commit6d1976650051a5dea38412a9f06c6c637d3b900b (patch)
tree0489a11f936b71ce7f14afc40ea6a730a4846308 /hosts/vidhar/prometheus
parent55a4f72a9d12831ec345fc074b228c83d3c7b3dd (diff)
downloadnixos-6d1976650051a5dea38412a9f06c6c637d3b900b.tar
nixos-6d1976650051a5dea38412a9f06c6c637d3b900b.tar.gz
nixos-6d1976650051a5dea38412a9f06c6c637d3b900b.tar.bz2
nixos-6d1976650051a5dea38412a9f06c6c637d3b900b.tar.xz
nixos-6d1976650051a5dea38412a9f06c6c637d3b900b.zip
...
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 }