From 5f42a160be5b37c7d47ebf000f3d6518ecafa1f4 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 29 Jan 2022 18:04:33 -0500 Subject: fix(ops/whitby): enable services.nginx.statusPage This is necessary for the nginx prometheus exporter to work Change-Id: I2343d6f5d3d6d6772777d5e14426a537aa1c8ef7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5127 Autosubmit: grfn Reviewed-by: lukegb Tested-by: BuildkiteCI --- ops/machines/whitby/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ops/machines/whitby/default.nix') diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix index 968b5c4ea5..a6a5a76317 100644 --- a/ops/machines/whitby/default.nix +++ b/ops/machines/whitby/default.nix @@ -479,6 +479,9 @@ in { applicationCredentials = "/var/lib/journaldriver/key.json"; }; + # Required for prometheus to be able to scrape stats + services.nginx.statusPage = true; + # Configure Prometheus & Grafana. Exporter configuration for # Prometheus is inside the respective service modules. services.prometheus = { -- cgit 1.4.1