vmagent: set consul datacenter (fix 0 discovered targets) #240

Merged
benvin merged 1 commits from benvin/vmagent-consul-datacenter into main 2026-07-07 00:05:31 +10:00

1 Commits

Author SHA1 Message Date
unkinben 4f3c81a303 vmagent: set consul datacenter to avoid agent:read requirement
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
The consul SD discovered 0 targets: VictoriaMetrics queried
/v1/agent/self to auto-detect the datacenter, which needs agent:read that
the anonymous consul token lacks (catalog/health reads work anonymously).
Set datacenter: au-syd1 explicitly so the agent/self call is skipped.
2026-07-06 23:57:51 +10:00