feat: monitor dnsmasq + v2ray

This commit is contained in:
Ryan Yin
2024-02-17 14:31:33 +08:00
parent 34ca7615b4
commit 9c07aa1113
3 changed files with 68 additions and 3 deletions
+8
View File
@@ -165,6 +165,14 @@ in {
};
};
# monitoring with prometheus
services.prometheus.exporters.dnsmasq = {
enable = true;
listenAddress = "0.0.0.0";
port = 9153;
openFirewall = false;
};
# The service irqbalance is useful as it assigns certain IRQ calls to specific CPUs instead of
# letting the first CPU core to handle everything.
# This is supposed to increase performance by hitting CPU cache more often.