]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/recipes/default.rb
Set scrape URI for nginx monitoring
[chef.git] / cookbooks / nginx / recipes / default.rb
index 1cc5e5b46abd1ada864ba7627e78d948183a96b5..d215e51c82a7176bc565fc00deab209587c20ce6 100644 (file)
@@ -64,6 +64,7 @@ munin_plugin "nginx_status"
 
 prometheus_exporter "nginx" do
   port 9113
+  options "--nginx.scrape-uri=http://localhost:8050/nginx_status"
 end
 
 template "/usr/local/bin/nginx-old-cache-cleanup" do