]> git.openstreetmap.org Git - chef.git/commitdiff
Add exporter for StatusCake
authorTom Hughes <tom@compton.nu>
Mon, 18 Jul 2022 16:59:25 +0000 (17:59 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 18 Jul 2022 17:33:04 +0000 (18:33 +0100)
cookbooks/prometheus/recipes/server.rb

index b547327c45ae2afcab3f384523678453d044accc..fe359b4504010f1847e2d9d1757962748f3428c7 100644 (file)
@@ -32,6 +32,11 @@ prometheus_exporter "fastly" do
   environment "FASTLY_API_TOKEN" => tokens["fastly"]
 end
 
+prometheus_exporter "statuscake" do
+  port 9595
+  environment "STATUSCAKE_APIKEY" => tokens["statuscake"]
+end
+
 cache_dir = Chef::Config[:file_cache_path]
 
 prometheus_version = "2.31.1"