]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/recipes/server.rb
Make prometheus exporters start after the network is available
[chef.git] / cookbooks / prometheus / recipes / server.rb
index 763c7fa217cc6046a346027a7de28b44100968af..405eadebeaf520157509c1c6e48fe61ff47f5488 100644 (file)
@@ -28,8 +28,7 @@ admins = data_bag_item("apache", "admins")
 
 prometheus_exporter "fastly" do
   port 8080
-  listen_switch "endpoint"
-  listen_type "url"
+  listen_switch "listen"
   environment "FASTLY_API_TOKEN" => tokens["fastly"]
 end