openrca / orca

Root Cause Analysis for Kubernetes
https://openrca.io
Apache License 2.0
90 stars 10 forks source link

Improve Prometheus mapping #58

Open aleksandra-galara opened 4 years ago

aleksandra-galara commented 4 years ago

As for now below Prometheus alerts in alerts-mapping.yaml are mapped to the cluster kind.

- KubeStateMetricsDown
- AlertmanagerDown
- NodeExporterDown
- PrometheusDown
- PrometheusOperatorDown

They are not related to Kubernetes cluster, but rather Prometheus jobs/services. Unfortunately, the absent() function, which is used in these alerts does not return any labels, so we can't connect it more specific.