]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/prometheus.yml.erb
Merge remote-tracking branch 'github/pull/358' into master
[chef.git] / cookbooks / prometheus / templates / default / prometheus.yml.erb
index 66051b622dfc9098919246c7a3c2d6e758f11f03..46d241905d46fd17b22d72870a64d9439135168e 100644 (file)
@@ -16,7 +16,7 @@ scrape_configs:
     static_configs:
 <% targets.each do |target| -%>
       - targets:
     static_configs:
 <% targets.each do |target| -%>
       - targets:
-          - <%= target[:address] %>
+          - "<%= target[:address] %>"
         labels:
           instance: <%= target[:name].split(".").first %>
 <% end -%>
         labels:
           instance: <%= target[:name].split(".").first %>
 <% end -%>