Add additional exporters to Prometheus

This commit is contained in:
coolneng 2023-04-18 19:43:05 +02:00
parent ee7648653e
commit 841ee6758d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

@ -64,6 +64,20 @@ with pkgs;
static_configs = [{ static_configs = [{
targets = [ targets = [
"localhost:${toString config.services.prometheus.exporters.node.port}" "localhost:${toString config.services.prometheus.exporters.node.port}"
"localhost:${toString config.services.prometheus.exporters.zfs.port}"
"localhost:${
toString config.services.prometheus.exporters.wireguard.port
}"
"localhost:${
toString config.services.prometheus.exporters.postgres.port
}"
"localhost:${
toString config.services.prometheus.exporters.smartctl.port
}"
"localhost:${
toString config.services.prometheus.exporters.dnsmasq.port
}"
"localhost:9641"
]; ];
}]; }];
}]; }];