aboutsummaryrefslogtreecommitdiff
path: root/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-26 13:39:17 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-26 13:39:17 -0700
commit5f0826d311682579b68f788713c043b9b0907056 (patch)
treed93496672eeace036a2bb77cbb1f679c72a7b8ba /hosts/common
parentcommon: ensure zsh is installed (diff)
downloadinfra-5f0826d311682579b68f788713c043b9b0907056.tar.gz
prometheus: stop scraping the NAS
we're shutting it down!
Diffstat (limited to 'hosts/common')
-rw-r--r--hosts/common/server/prometheus.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix
index 401dd2b..6ae25cf 100644
--- a/hosts/common/server/prometheus.nix
+++ b/hosts/common/server/prometheus.nix
@@ -39,10 +39,8 @@ in {
scrapeConfigs = [
{
job_name = "node";
- static_configs = [{
- targets =
- [ "192.168.6.1:9100" "192.168.6.10:9100" "192.168.6.20:9100" ];
- }];
+ static_configs =
+ [{ targets = [ "192.168.6.1:9100" "192.168.6.20:9100" ]; }];
relabel_configs = relabelConfigs;
}
{