fix(observability): use internal platform endpoints and reduce k8s pod false positives
This commit is contained in:
parent
8844a0481d
commit
fa005ba881
1 changed files with 7 additions and 7 deletions
|
|
@ -115,7 +115,7 @@ spec:
|
||||||
reason = waiting.get("reason", reason)
|
reason = waiting.get("reason", reason)
|
||||||
message = waiting.get("message", message)
|
message = waiting.get("message", message)
|
||||||
|
|
||||||
if phase != "Running" or crash:
|
if phase in ("Pending", "Failed", "Unknown") or crash:
|
||||||
pod_issues += 1
|
pod_issues += 1
|
||||||
records.append(
|
records.append(
|
||||||
{
|
{
|
||||||
|
|
@ -130,12 +130,12 @@ spec:
|
||||||
)
|
)
|
||||||
|
|
||||||
endpoints = [
|
endpoints = [
|
||||||
("frontend", "https://test121.nxtgauge.com/"),
|
("frontend-svc", "http://nxtgauge-frontend-solid.nxtgauge.svc.cluster.local/"),
|
||||||
("admin", "https://admin.nxtgauge.com/"),
|
("admin-svc", "http://nxtgauge-admin-solid.nxtgauge.svc.cluster.local/"),
|
||||||
("api-health", "https://api.nxtgauge.com/health"),
|
("api-gateway-svc", "http://nxtgauge-rust-gateway.nxtgauge.svc.cluster.local:9100/health"),
|
||||||
("woodpecker", "https://ci.nxtgauge.com/"),
|
("woodpecker-svc", "http://woodpecker-server.woodpecker.svc.cluster.local/"),
|
||||||
("argocd-server", "http://argocd-server.argocd.svc.cluster.local/healthz"),
|
("argocd-metrics", "http://argocd-server-metrics.argocd.svc.cluster.local:8083/metrics"),
|
||||||
("openobserve", "https://logs.nxtgauge.com/"),
|
("openobserve-svc", "http://o2-openobserve-standalone.openobserve.svc.cluster.local:5080/healthz"),
|
||||||
]
|
]
|
||||||
for name, url in endpoints:
|
for name, url in endpoints:
|
||||||
rec = check_url(name, url)
|
rec = check_url(name, url)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue