forked from Drift/pvv-nixos-config
Let nodes access their own prometheus metrics
This commit is contained in:
parent
db69d28b42
commit
a9d04ed286
|
@ -10,6 +10,8 @@
|
||||||
systemd.services.prometheus-node-exporter.serviceConfig = {
|
systemd.services.prometheus-node-exporter.serviceConfig = {
|
||||||
IPAddressDeny = "any";
|
IPAddressDeny = "any";
|
||||||
IPAddressAllow = [
|
IPAddressAllow = [
|
||||||
|
"127.0.0.1"
|
||||||
|
"::1"
|
||||||
values.hosts.ildkule.ipv4
|
values.hosts.ildkule.ipv4
|
||||||
values.hosts.ildkule.ipv6
|
values.hosts.ildkule.ipv6
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue