From 3c521635d4042375c229c2e6ed4da37082c06114 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Mon, 13 Apr 2026 23:26:59 +0530 Subject: [PATCH] feat(observability): include registry endpoint in k8s health monitoring --- .../base/openobserve-k8s-monitor-cronjob.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/nxtgauge-backend-rust/base/openobserve-k8s-monitor-cronjob.yaml b/apps/nxtgauge-backend-rust/base/openobserve-k8s-monitor-cronjob.yaml index f9619a3..f38ad51 100644 --- a/apps/nxtgauge-backend-rust/base/openobserve-k8s-monitor-cronjob.yaml +++ b/apps/nxtgauge-backend-rust/base/openobserve-k8s-monitor-cronjob.yaml @@ -64,6 +64,8 @@ spec: err = str(e) except Exception as e: err = str(e) + if name == "registry-svc" and status in (200, 401): + ok = True latency_ms = int((time.time() - start) * 1000) return { "kind": "endpoint", @@ -133,6 +135,7 @@ spec: ("frontend-svc", "http://nxtgauge-frontend-solid.nxtgauge.svc.cluster.local/"), ("admin-svc", "http://nxtgauge-admin-solid.nxtgauge.svc.cluster.local/"), ("api-gateway-svc", "http://nxtgauge-rust-gateway.nxtgauge.svc.cluster.local:9100/health"), + ("registry-svc", "http://docker-registry.registry.svc.cluster.local:5000/v2/"), ("woodpecker-svc", "http://woodpecker-server.woodpecker.svc.cluster.local/"), ("argocd-metrics", "http://argocd-server-metrics.argocd.svc.cluster.local:8083/metrics"), ("openobserve-svc", "http://o2-openobserve-standalone.openobserve.svc.cluster.local:5080/healthz"),