X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3c15d2bb0a9506e8ff9ffd89d679f78d8c51b195..6e0c9995ffe09af3f2fe836d95a612709179ebca:/cookbooks/prometheus/templates/default/chef.prom.erb?ds=sidebyside diff --git a/cookbooks/prometheus/templates/default/chef.prom.erb b/cookbooks/prometheus/templates/default/chef.prom.erb index a7d4d9ff6..f9be619f0 100644 --- a/cookbooks/prometheus/templates/default/chef.prom.erb +++ b/cookbooks/prometheus/templates/default/chef.prom.erb @@ -8,11 +8,6 @@ chef_network_interface{name="<%= interface[:interface] %>",role="<%= interface[: <% node[:roles].sort.each do |role| -%> chef_role{name="<%= role %>"} 1 <% end -%> -<% if node[:roles].include?("tilecache") -%> -# HELP chef_tile_parent Information about tile cache parents -# TYPE chef_tile_parent gauge -chef_tile_parent{name="<%= node[:tilecache][:tile_parent].split(".").first %>"} 1 -<% end -%> <% node[:prometheus][:metrics].sort.each do |name, details| -%> # HELP <%= name %> <%= details[:help] %> # TYPE <%= name %> gauge