Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust IDE alerts to work with centralized alerting #13839

Merged
merged 1 commit into from
Oct 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions operations/observability/mixins/IDE/rules/opensvx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodOpenVsxRegistryDown.md
summary: Open-VSX registry is possibly down
description: Open-VSX registry is possibly down. We cannot pull VSCode extensions we don't have in our caches
dashboard_url: https://grafana.gitpod.io/d/HNOvmGpxgd/openvsx-proxy
dashboard_url: https://grafana.gitpod.io/d/HNOvmGpxgd/openvsx-proxy?var-cluster={{ $labels.cluster }}
expr: |
sum(rate(gitpod_vscode_extension_gallery_query_total{status="failure",errorCode!="canceled"}[5m])) / sum(rate(gitpod_vscode_extension_gallery_query_total[5m])) > 0.01
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

- alert: GitpodOpenVSXUnavailable
labels:
Expand All @@ -33,5 +33,5 @@ spec:
for: 10m
annotations:
summary: Prometheus is failing to scrape OpenVSX-proxy
description: OpenVSX-proxy is possibly down, or prometheus is failing to scrape it.
description: OpenVSX-proxy(Pod {{ $labels.pod }}, cluster {{ $labels.cluster }}) is possibly down, or prometheus is failing to scrape it.
expr: up{job="openvsx-proxy"} == 0