Skip to content

Commit

Permalink
scrape r09-receiver data every 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed May 19, 2024
1 parent ffa7b0c commit e9b7a43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hosts/notice-me-senpai/grafana.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9b7a43

Please sign in to comment.