]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/prometheus.yml.erb
Configure server URL for amtool
[chef.git] / cookbooks / prometheus / templates / default / prometheus.yml.erb
index d90c8292b8a4d3a3ef2041667f2a01d02f48f037..e06c0254934f19643fba7b08e53b3239a03b7a60 100644 (file)
@@ -35,10 +35,8 @@ scrape_configs:
           - "<%= target[:address] %>"
         labels:
           instance: <%= target[:instance] %>
-<% end -%>
 <% end -%>
     metric_relabel_configs:
-<% @jobs.sort.each do |name, targets| -%>
 <% targets.each do |target| -%>
 <% target[:metric_relabel].each do |relabel| -%>
       - source_labels: [instance,<%= relabel[:source_labels] %>]