]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Match number of apache workers on tile servers to the CPU count
[chef.git] / cookbooks / apache / recipes / default.rb
index 8f217d36478d55a0a06e72fca1948c6d9f305872..4d91da140e061d30389de52992b3edcc801bcf48 100644 (file)
@@ -97,8 +97,14 @@ munin_plugin "apache_accesses"
 munin_plugin "apache_processes"
 munin_plugin "apache_volume"
 
 munin_plugin "apache_processes"
 munin_plugin "apache_volume"
 
+template "/var/lib/prometheus/node-exporter/apache.prom" do
+  source "apache.prom.erb"
+  owner "root"
+  group "root"
+  mode "644"
+end
+
 prometheus_exporter "apache" do
   port 9117
 prometheus_exporter "apache" do
   port 9117
-  listen_switch "telemetry.address"
   options "--scrape_uri=http://localhost/server-status?auto"
 end
   options "--scrape_uri=http://localhost/server-status?auto"
 end