From 24d106e6a8f1168955b7eaebce743b43ce2d58b1 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 22 Jun 2022 19:14:47 +0100 Subject: [PATCH] Update fastly exporter configuration --- cookbooks/prometheus/recipes/server.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index 763c7fa21..405eadebe 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -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 -- 2.39.5