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"),