Commit 7690c9e7 authored by John Jarvis's avatar John Jarvis

Jarv/improve blackbox

parent 217877f4
......@@ -3,19 +3,31 @@ groups:
rules:
- alert: GitlabComDown
expr: probe_http_status_code{instance="https://gitlab.com",job="blackbox"} != 200
for: 5m
for: 2m
labels:
pager: pagerduty
severity: critical
annotations:
description: GitLab.com is down for more than 1 minute! Consider !tweet 'GitLab.com
description: GitLab.com is down for more than 2 minutes! Consider !tweet 'GitLab.com
is currently down, we are investigating the root cause, apologies for the
inconvenience' if there is problems.
runbook: troubleshooting/gitlab-com-is-down.md
title: GitLab.com is down for 1 minute
title: GitLab.com is down for 2 minutes
- alert: GitlabComSignInDown
expr: probe_http_status_code{instance="https://gitlab.com/users/sign_in",job="blackbox"} != 200
for: 2m
labels:
pager: pagerduty
severity: critical
annotations:
description: GitLab.com is down for more than 2 minutes! Consider !tweet 'GitLab.com
is currently down, we are investigating the root cause, apologies for the
inconvenience' if there is problems.
runbook: troubleshooting/gitlab-com-is-down.md
title: GitLab.com is down for 2 minutes
- alert: WWWGitlabComDown
expr: probe_http_status_code{instance="https://www.gitlab.com",job="blackbox"} != 200
for: 5m
for: 2m
labels:
pager: pagerduty
severity: critical
......@@ -24,4 +36,4 @@ groups:
is currently down, we are investigating the root cause, apologies for the
inconvenience' if there is problems.
runbook: troubleshooting/gitlab-com-is-down.md
title: www.gitlab.com is down for 1 minute
title: www.gitlab.com is down for 2 minutes
groups:
- name: gitlab-com-status.rules
rules:
- alert: StagingGitlabComDown
expr: probe_http_status_code{instance="https://staging.gitlab.com",job="blackbox"} != 200
for: 30m
labels:
pager: pagerduty
severity: critical
annotations:
description: GitLab.com is down for more than 30 minutes!
runbook: troubleshooting/gitlab-com-is-down.md
title: staging.GitLab.com is down for 30 minutes
- alert: StagingGitlabComSignInDown
expr: probe_http_status_code{instance="https://staging.gitlab.com/users/sign_in",job="blackbox"} != 200
for: 30m
labels:
pager: pagerduty
severity: critical
annotations:
description: GitLab.com is down for more than 30 minutes!
runbook: troubleshooting/gitlab-com-is-down.md
title: staging.GitLab.com is down for 30 minutes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment