Skip to content

Commit

Permalink
fix(velero): remove prometheus rules for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinWolff committed Sep 29, 2023
1 parent c325bfc commit 8eaaaf9
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions charts/base-cluster/templates/backup/velero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,6 @@ spec:
{{- end }}
volumeSnapshotLocation: []
metrics:
prometheusRule:
autodetect: false
additionalLabels: {{- .Values.monitoring.labels | toYaml | nindent 10 }}
enabled: {{ .Values.monitoring.prometheus.enabled }}
spec:
- alert: VeleroBackupPartialFailures
annotations:
message: Velero backup {{ `{{ $labels }}`.schedule }} has {{ `{{ $value }}` | humanizePercentage }} partialy failed backups.
expr: velero_backup_partial_failure_total{schedule!=""} / velero_backup_attempt_total{schedule!=""} > 0.25
for: 15m
labels:
severity: warning
- alert: VeleroBackupFailures
annotations:
message: Velero backup {{ `{{ $labels }}`.schedule }} has {{ `{{ $value }}` | humanizePercentage }} failed backups.
expr: velero_backup_failure_total{schedule!=""} / velero_backup_attempt_total{schedule!=""} > 0.25
for: 15m
labels:
severity: warning
serviceMonitor:
autodetect: false
enabled: {{ .Values.monitoring.prometheus.enabled }}
Expand Down

0 comments on commit 8eaaaf9

Please sign in to comment.