Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/IDE/rules/vscode.yaml
2500 views
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-monitoring-rules
12
namespace: monitoring-satellite
13
spec:
14
groups:
15
- name: vscode
16
rules:
17
- alert: VSCodeExtensionInstallFailuresRatioTooHigh
18
labels:
19
severity: critical
20
dedicated: included
21
for: 20m
22
annotations:
23
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/VSCodeExtensionInstallFailuresRatioTooHigh.md
24
summary: Open-VSX registry is possibly down
25
description: Open-VSX registry or our openvsx-mirror is possibly down. Some user cannot install VSCode extensions.
26
dashboard_url: https://grafana.gitpod.io/d/oLzOteZ4z/vs-code-browser-overview
27
expr: |
28
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
29
30