Enable IPv6 dialing for VictoriaMetrics scrapes

The scraper defaults to IPv4-only, so the ns1/ns2 mesh ULA targets were
dropped with 'no suitable address found'. -enableTCP6 lets VM scrape them.
This commit is contained in:
Berwn
2026-06-17 10:51:31 +07:00
parent 1405605eac
commit 8ac96b2d10
+3
View File
@@ -29,6 +29,9 @@ in
enable = true;
listenAddress = "127.0.0.1:${toString vmPort}";
retentionPeriod = "180d";
# The scraper dials IPv4-only by default; our ns1/ns2 targets are mesh ULAs,
# so without this VM drops them with "no suitable address found (try -enableTCP6)".
extraOptions = [ "-enableTCP6" ];
prometheusConfig = {
global.scrape_interval = "30s";
scrape_configs = [