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 <grfn@gws.fyi>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2022-01-29 18:04:33 -05:00 committed by clbot
parent 84304b925a
commit 5f42a160be

View file

@ -479,6 +479,9 @@ in {
applicationCredentials = "/var/lib/journaldriver/key.json"; 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 # Configure Prometheus & Grafana. Exporter configuration for
# Prometheus is inside the respective service modules. # Prometheus is inside the respective service modules.
services.prometheus = { services.prometheus = {