X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388093f9ee3d26472d9a185d6a9acbad30a5ddc9..ed7d2012c3ea31c85bd643bcee013d54ba186360:/cookbooks/squid/recipes/default.rb?ds=inline diff --git a/cookbooks/squid/recipes/default.rb b/cookbooks/squid/recipes/default.rb index e04a216e8..deeff85b6 100644 --- a/cookbooks/squid/recipes/default.rb +++ b/cookbooks/squid/recipes/default.rb @@ -19,6 +19,7 @@ include_recipe "apt" include_recipe "munin" +include_recipe "prometheus" if node[:squid][:version] >= 3 apt_package "squid" do @@ -152,3 +153,8 @@ end munin_plugin "squid_delay_pools_noreferer" do action :delete end + +prometheus_exporter "squid" do + port 9301 + listen_switch "listen" +end