diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 21:02:49 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 21:02:49 +0100 |
commit | 55a4f72a9d12831ec345fc074b228c83d3c7b3dd (patch) | |
tree | 20d6eeedf1a163ec6a6f859ff939845dd4aee9ed /hosts/vidhar | |
parent | 8d90733faa56c39f96c825459822745be1d432bf (diff) | |
download | nixos-55a4f72a9d12831ec345fc074b228c83d3c7b3dd.tar nixos-55a4f72a9d12831ec345fc074b228c83d3c7b3dd.tar.gz nixos-55a4f72a9d12831ec345fc074b228c83d3c7b3dd.tar.bz2 nixos-55a4f72a9d12831ec345fc074b228c83d3c7b3dd.tar.xz nixos-55a4f72a9d12831ec345fc074b228c83d3c7b3dd.zip |
...
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 75841e5a..7880154a 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -73,6 +73,10 @@ in { | |||
73 | }; | 73 | }; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | globalConfig = { | ||
77 | evaluation_interval = "1s"; | ||
78 | }; | ||
79 | |||
76 | scrapeConfigs = [ | 80 | scrapeConfigs = [ |
77 | { job_name = "prometheus"; | 81 | { job_name = "prometheus"; |
78 | static_configs = [ | 82 | static_configs = [ |