Configuring Alerts
This section describes how to configure alerts in OCNADD.
If OCNADD is installed in the OCCNE setup, all services are monitored by Prometheus by default.
Therefore, there are no modifications required in the helm chart. All the Prometheus
alert rules present in helm chart are updated in the Prometheus Server.
Note:
Here, the label used to update the Prometheus server is role: cnc-alerting-rules, which is added by default in helm charts.If OCNADD is installed in the TANZU Setup, one of the files needs to be modified in helm charts
with the following parameters.
Note:
Update the release: prom-operator label with role: cnc-alerting-rules in theocnadd-alerting-rules.yaml
file.
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
labels:
release: prom-operator
name: ocnadd-alerting-rules
namespace: {{ .Values.global.cluster.nameSpace.name }}