about summary refs log tree commit diff
path: root/ops/machines/whitby/default.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-01-29T23·04-0500
committerclbot <clbot@tvl.fyi>2022-01-29T23·07+0000
commit5f42a160be5b37c7d47ebf000f3d6518ecafa1f4 (patch)
treee3de023676164a3fb8e86753e6c06a996cdbe407 /ops/machines/whitby/default.nix
parent84304b925a78404df6571c8553af74dd784f6fac (diff)
fix(ops/whitby): enable services.nginx.statusPage r/3716
This is necessary for the nginx prometheus exporter to work

Change-Id: I2343d6f5d3d6d6772777d5e14426a537aa1c8ef7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5127
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/machines/whitby/default.nix')
-rw-r--r--ops/machines/whitby/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix
index 968b5c4ea58d..a6a5a763177a 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 = {