X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388093f9ee3d26472d9a185d6a9acbad30a5ddc9..778dafe1b60675abedacec30bbbec1e174fec5b0:/cookbooks/squid/recipes/default.rb 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