Add wg exporter to scrape_config

This commit is contained in:
xqtc161 2024-06-16 12:09:34 +02:00
parent d9839c1472
commit cc55254889

View file

@ -29,7 +29,10 @@
job_name = "beleth"; job_name = "beleth";
static_configs = [ static_configs = [
{ {
targets = ["127.0.0.1:${toString config.services.prometheus.exporters.node.port}"]; targets = [
"127.0.0.1:${toString config.services.prometheus.exporters.node.port}"
"127.0.0.1:${toString config.services.prometheus.exporters.wireguard.port}"
];
} }
]; ];
} }