mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 13:50:32 +01:00
Add wg exporter to scrape_config
This commit is contained in:
parent
d9839c1472
commit
cc55254889
|
@ -29,7 +29,10 @@
|
|||
job_name = "beleth";
|
||||
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}"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue