Support default PrometheusRule for polardbx cluster
lookingss opened this issue · comments
- What is missing?
PrometheusRule for PolarDB-X is missing in polardbx-montor helm chart.
- Why do we need it?
Currently, PolarDB-X cluster deployed by polardbx-operator is monitored by prometheus and grafana. Only grafana dashboards are provided to monitor the metrics and healtch of PolarDB-X.
If some metrics exceed the threshold, such as CPU high, an alert message should be generated and noticed to the user as soon as possible. So a default PrometheusRule for PolarDB-X cluster is needed. After that, prometheus can send the alert message to other alert systems(such AlertManager).