]> git.openstreetmap.org Git - chef.git/commitdiff
Update fastly exporter configuration
authorTom Hughes <tom@compton.nu>
Wed, 22 Jun 2022 18:14:47 +0000 (19:14 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 22 Jun 2022 18:14:47 +0000 (19:14 +0100)
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