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:
@@ -29,6 +29,9 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
listenAddress = "127.0.0.1:${toString vmPort}";
|
listenAddress = "127.0.0.1:${toString vmPort}";
|
||||||
retentionPeriod = "180d";
|
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 = {
|
prometheusConfig = {
|
||||||
global.scrape_interval = "30s";
|
global.scrape_interval = "30s";
|
||||||
scrape_configs = [
|
scrape_configs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user