diff --git a/templates/prometheus-scrape-configs b/templates/prometheus-scrape-configs index 957cac7..1295ee7 100644 --- a/templates/prometheus-scrape-configs +++ b/templates/prometheus-scrape-configs @@ -50,9 +50,9 @@ - {{ ip.ipv4 }}:{{ port.dirport }} {% endif %} {% if ip.ipv6 != '' and tor_IPv6 %} - - [{{ ip.ipv6 }}]:{{ port.orport }} + - "[{{ ip.ipv6 }}]:{{ port.orport }}" {% if port.dirport != 0 %} - - [{{ ip.ipv6 }}]:{{ port.dirport }} + - "[{{ ip.ipv6 }}]:{{ port.dirport }}" {% endif %} {% endif %} {% endfor %}