From 65aa1e61043d0b6fd899aa6ca6e7470a0f89fbe8 Mon Sep 17 00:00:00 2001 From: Andrew Stoltz Date: Wed, 20 May 2026 14:52:02 -0500 Subject: [PATCH] fix(monitoring): point probe-printweb at /health (Q-MR-90) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root path requires API key auth — `/` returned 401 to the blackbox probe, firing PrintWebDown despite `/health` reporting Healthy. Pattern: feedback_k8s_probes_behind_auth_middleware. Mirrors FlowerCore.Notes scripts/monitoring/prometheus.yml. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/monitoring/noc-monitoring.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/monitoring/noc-monitoring.yaml b/apps/monitoring/noc-monitoring.yaml index 8ab91e1..84a3151 100644 --- a/apps/monitoring/noc-monitoring.yaml +++ b/apps/monitoring/noc-monitoring.yaml @@ -280,13 +280,14 @@ data: printer_model: "NuPrint 210" # Print.Web health (Blazor app on edge2:5200) + # Target `/health` (anonymous) — root path requires API key auth and returns 401. - job_name: "probe-printweb" metrics_path: /probe params: module: [http_2xx] scrape_interval: 30s static_configs: - - targets: ["http://10.0.57.16:5200/"] + - targets: ["http://10.0.57.16:5200/health"] labels: instance: "print-web" service: "print-web"