diff --git a/hosts/notice-me-senpai/grafana.nix b/hosts/notice-me-senpai/grafana.nix index 2c58eda..bb1c7a3 100644 --- a/hosts/notice-me-senpai/grafana.nix +++ b/hosts/notice-me-senpai/grafana.nix @@ -54,7 +54,11 @@ in replacement = "${exporter}"; } ]; - }; + } // ( + if exporter == "r09-receiver" then { + scrape_interval = "10s"; + } else {} + ); # generate scraper config makeScrapeConfigHost = name: exporters: lib.mapAttrs (makeScrapeConfig name) exporters;