prometheus-rule-hue.yaml 583 B

123456789101112131415161718192021
  1. {{- if .Values.alerting.enabled -}}
  2. apiVersion: monitoring.coreos.com/v1
  3. kind: PrometheusRule
  4. metadata:
  5. labels:
  6. prometheus: hue
  7. role: alert-rules
  8. name: hue
  9. spec:
  10. groups:
  11. - name: hue-pod-monitor.alert.rules
  12. rules:
  13. - alert: hue_pods_are_down
  14. expr: count(up{job="hue"})==0 #Update the rule according to alerting requirements
  15. for: 30m #Change this based on your SLA
  16. labels:
  17. severity: High
  18. annotations:
  19. summary: Hue pods are down
  20. impact: Users might not be able to query via Hue Web UI
  21. {{ end }}