Deal with .local suffix in hostnames. ANTLR on prometheus.