vmagent: fix consul target address relabel #516
Reference in New Issue
Block a user
Delete Branch "benvin/vmagent-consul-address"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The consul job joins node and port with ":" but then sets
replacement: "${1}:${2}"with the default(.*)regex, so__address__becomesnode:port:. vmagent rejects every consul target as an invalid port, including node_exporter.$1yieldsnode:portNo findings.