Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
fix: ignore missing etcd, systemd and orbiter probes on gke (#101)
Browse files Browse the repository at this point in the history
Dashboard are untouched, but missing etcd, systemd and orbiter probe
metrics don't cause the overall cluster healthyness to turn red

✅ Closes: #86
  • Loading branch information
eliobischof authored May 15, 2020
1 parent d83140a commit 8d1b718
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ groups:
1
)
record: caos_scheduled_pods_ryg
- expr: min(caos_node_cpu_ryg) * min(caos_systemd_ryg) * min(caos_vip_probe_ryg) * min(caos_upstream_probe_ryg) * min(caos_node_memory_ryg) * min(caos_k8s_node_ryg) * avg(caos_etcd_ryg) * min(caos_ready_pods_ryg{namespace=~"(caos|kube)-system"}) * min(caos_scheduled_pods_ryg{namespace=~"(caos|kube)-system"})
- expr: min(caos_node_cpu_ryg) * min(caos_systemd_ryg or on() vector(1)) * min(caos_vip_probe_ryg or on() vector(1)) * min(caos_upstream_probe_ryg or on() vector(1)) * min(caos_node_memory_ryg) * min(caos_k8s_node_ryg) * min(caos_etcd_ryg or on() vector(1)) * min(caos_ready_pods_ryg{namespace=~"(caos|kube)-system"}) * min(caos_scheduled_pods_ryg{namespace=~"(caos|kube)-system"})
record: caos_orb_ryg
`

Expand Down

0 comments on commit 8d1b718

Please sign in to comment.