prometheus-rule.yaml 309 B

123456789101112131415
  1. apiVersion: monitoring.coreos.com/v1
  2. kind: PrometheusRule
  3. metadata:
  4. creationTimestamp: null
  5. labels:
  6. prometheus: example
  7. role: alert-rules
  8. name: prometheus-example-rules
  9. namespace: monitoring
  10. spec:
  11. groups:
  12. - name: ./example.rules
  13. rules:
  14. - alert: ExampleAlert4
  15. expr: vector(1)