]> git.openstreetmap.org Git - chef.git/commitdiff
Add monitoring of Fastly healthcheck status
authorTom Hughes <tom@compton.nu>
Sun, 24 Jul 2022 11:44:30 +0000 (12:44 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 24 Jul 2022 11:44:30 +0000 (12:44 +0100)
cookbooks/prometheus/recipes/server.rb

index 36444527c3eaa60262c78c2f28fc264968da8611..20275ab7ac5e5e52f1656ce4d313e8dff51596ee 100644 (file)
@@ -32,6 +32,11 @@ prometheus_exporter "fastly" do
   environment "FASTLY_API_TOKEN" => tokens["fastly"]
 end
 
+prometheus_exporter "fastly_healthcheck" do
+  port 9696
+  environment "FASTLY_API_TOKEN" => tokens["fastly"]
+end
+
 prometheus_exporter "statuscake" do
   port 9595
   environment "STATUSCAKE_APIKEY" => tokens["statuscake"]