Skip to content

Commit 6fba354

Browse files
mustard-mhroboquat
authored andcommitted
[observability] add vscode install extension failure alert rule
1 parent d074f8b commit 6fba354

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2+
# Licensed under the GNU Affero General Public License (AGPL).
3+
# See License-AGPL.txt in the project root for license information.
4+
5+
apiVersion: monitoring.coreos.com/v1
6+
kind: PrometheusRule
7+
metadata:
8+
labels:
9+
prometheus: k8s
10+
role: alert-rules
11+
name: openvsx-proxy-monitoring-rules
12+
namespace: monitoring-satellite
13+
spec:
14+
groups:
15+
- name: vscode
16+
rules:
17+
- alert: VSCodeExtensionInstallFailuresRatioTooHigh
18+
labels:
19+
severity: critical
20+
for: 20m
21+
annotations:
22+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/VSCodeExtensionInstallFailuresRatioTooHigh.md
23+
summary: Open-VSX registry is possibly down
24+
description: Open-VSX registry or our openvsx-mirror is possibly down. Some user cannot install VSCode extensions.
25+
dashboard_url: https://grafana.gitpod.io/d/oLzOteZ4z/vs-code-browser-overview
26+
expr: |
27+
sum(rate(gitpod_vscode_extension_gallery_operation_total{status="failure",operation="install"}[2m]))/sum(rate(gitpod_vscode_extension_gallery_operation_total{operation="install"}[2m])) > 0.25

0 commit comments

Comments
 (0)