Skip to content

Commit 47865a0

Browse files
mustard-mhroboquat
authored andcommitted
[observability] add alert for upstream down
1 parent 8aeb5e1 commit 47865a0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

operations/observability/mixins/IDE/rules/opensvx.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ spec:
2626
expr: |
2727
sum(rate(gitpod_vscode_extension_gallery_query_total{status="failure",errorCode!="canceled"}[5m])) by(cluster) / sum(rate(gitpod_vscode_extension_gallery_query_total[5m])) by(cluster) > 0.01
2828
29+
- alert: GitpodOpenVSXUpstreamDown
30+
labels:
31+
severity: critical
32+
for: 20m
33+
annotations:
34+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodOpenVSXUpstreamDown.md
35+
summary: Open-VSX upstream is possibly down
36+
description: Open-VSX upstream is possibly down.
37+
dashboard_url: https://grafana.gitpod.io/d/WI_x6hN4k/openvsx-mirror?var-cluster=openvsx-mirror-us01&viewPanel=13
38+
expr: |
39+
sum(rate(http_client_requests_seconds_count{cluster="openvsx-mirror-us01",outcome!~"SUCCESS|REDIRECTION|CLIENT_ERROR"})[2m])/sum(rate(http_client_requests_seconds_count{cluster="openvsx-mirror-us01"})[2m]) > 0.01
40+
2941
- alert: GitpodOpenVSXUnavailable
3042
labels:
3143
severity: warning

0 commit comments

Comments
 (0)