Skip to content

Commit

Permalink
[pxc-db] Fix typo in the backup alert rule
Browse files Browse the repository at this point in the history
  • Loading branch information
s10 committed Dec 23, 2024
1 parent a2e21c3 commit 282a1cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/pxc-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.3
version: 0.2.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion common/pxc-db/templates/alerts/_backup.alerts.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
summary: "{{ include "pxc-db.fullname" . }} cluster backup is not succeeded."

- alert: {{ include "pxc-db.alerts.service" . | camelcase }}GaleraClusterBackupMissing
expr: (time() - max by (app_kubernetes_io_instance) (kube_customresource_perconaxtradbclusterbackup_completed{app_kubernetes_io_instance="{{ include "pxc-db.fullname" . }}") > 129600)
expr: (time() - max by (app_kubernetes_io_instance) (kube_customresource_perconaxtradbclusterbackup_completed{app_kubernetes_io_instance="{{ include "pxc-db.fullname" . }}"}) > 129600)
for: 30m
labels:
context: database
Expand Down

0 comments on commit 282a1cc

Please sign in to comment.