Skip to content
Snippets Groups Projects
Commit 37278916 authored by Pablo Carranza's avatar Pablo Carranza
Browse files

Disable backup alerting rules for now

parent d196635e
No related branches found
No related tags found
1 merge request!204Disable backup alerting rules for now
gitlab_com:last_backup_age_in_seconds=(time()-gitlab_com_backup_time)
# gitlab_com:last_backup_age_in_seconds=(time()-gitlab_com_backup_time)
 
ALERT gitlab_com_backup_too_old
IF gitlab_com:last_backup_age_in_seconds >= 36*60*60
FOR 30s
LABELS { severity = "critical" }
ANNOTATIONS {
title = "Regular backup for GitLab.com was taken more than {{ .Value | humanizeDuration }} ago. Please take the actions or in case of accident we could lose data.",
description = "Regular backups for GitLab.com are not taken on time. Please follow the runbook to review the problem.",
runbook="troubleshooting/gitlab_com_backups.md"
}
# ALERT gitlab_com_backup_too_old
# IF gitlab_com:last_backup_age_in_seconds >= 36*60*60
# FOR 30s
# LABELS { severity = "critical" }
# ANNOTATIONS {
# title = "Regular backup for GitLab.com was taken more than {{ .Value | humanizeDuration }} ago. Please take the actions or in case of accident we could lose data.",
# description = "Regular backups for GitLab.com are not taken on time. Please follow the runbook to review the problem.",
# runbook="troubleshooting/gitlab_com_backups.md"
# }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment