scrape node_exporter for desktop

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-19 18:52:59 +01:00
parent c96069a78a
commit 9338783490
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 5 additions and 9 deletions

View file

@ -7,7 +7,8 @@
job_name = "node_exporter";
static_configs = [{
targets = [
"${config.services.prometheus.exporters.node.listenAddress}:${toString config.services.prometheus.exporters.node.port}"
"[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.node.port}"
"[fd0d:a262:1fa6:e621:47e6:24d4:2acb:9437]:${toString config.services.prometheus.exporters.node.port}"
];
}];
}
@ -15,7 +16,7 @@
job_name = "bind_exporter";
static_configs = [{
targets = [
"${config.services.prometheus.exporters.bind.listenAddress}:${toString config.services.prometheus.exporters.bind.port}"
"[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.bind.port}"
];
}];
}
@ -23,7 +24,7 @@
job_name = "postgres_exporter";
static_configs = [{
targets = [
"${config.services.prometheus.exporters.postgres.listenAddress}:${toString config.services.prometheus.exporters.postgres.port}"
"[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.prometheus.exporters.postgres.port}"
];
}];
}
@ -31,7 +32,7 @@
job_name = "gitea_exporter";
static_configs = [{
targets = [
"${config.services.gitea.httpAddress}:${toString config.services.gitea.httpPort}"
"[fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49]:${toString config.services.gitea.httpPort}"
];
}];
}

View file

@ -13,11 +13,6 @@
swaylock
swayidle
xwayland
mako
grim
slurp
wl-clipboard
wf-recorder
(python38.withPackages (ps: with ps; [ i3pystatus keyring ]))
];
extraSessionCommands = ''