]> git.openstreetmap.org Git - chef.git/commitdiff
Configure server status URI for apache exporter
authorTom Hughes <tom@compton.nu>
Thu, 17 Sep 2020 19:29:16 +0000 (20:29 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 17 Sep 2020 19:29:16 +0000 (20:29 +0100)
cookbooks/apache/recipes/default.rb

index f25806fcf4a870e0d9a6d2c97f0dee39bae5b325..e5f30a410855aea3fb4f6e87f0ddb4b8435fd721 100644 (file)
@@ -99,4 +99,5 @@ munin_plugin "apache_volume"
 prometheus_exporter "apache" do
   port 9117
   listen_switch "telemetry.address"
+  exporter_options "-scrape_uri http://localhost/server-status?auto"
 end