From: Tom Hughes Date: Mon, 18 Jul 2022 16:59:25 +0000 (+0100) Subject: Add exporter for StatusCake X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/8cdbdc0855c67a85aeafbfa1b6d6a6bc3a5ed497 Add exporter for StatusCake --- diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index b547327c4..fe359b450 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -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"