]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Add exporter for StatusCake
[chef.git] / cookbooks / apache / recipes / default.rb
index 6a429a41f28432811a00a41152593535f0759b8d..c927b87b5015c539583bc19dde39c1162f542421 100644 (file)
@@ -71,6 +71,10 @@ apache_module "status" do
   variables :hosts => admins["hosts"]
 end
 
   variables :hosts => admins["hosts"]
 end
 
+apache_module "brotli" do
+  conf "brotli.conf.erb"
+end
+
 apache_module "deflate" do
   conf "deflate.conf.erb"
 end
 apache_module "deflate" do
   conf "deflate.conf.erb"
 end
@@ -97,9 +101,7 @@ munin_plugin "apache_processes"
 munin_plugin "apache_volume"
 
 prometheus_exporter "apache" do
 munin_plugin "apache_volume"
 
 prometheus_exporter "apache" do
-  github_owner "Lusitaniae"
-  version "0.8.0"
   port 9117
   listen_switch "telemetry.address"
   port 9117
   listen_switch "telemetry.address"
-  options "-scrape_uri http://localhost/server-status?auto"
+  options "--scrape_uri=http://localhost/server-status?auto"
 end
 end