Skip to content

[obs] Fix gitpod_workspace_regular_not_active_percentage_mk2, and temporarily disable related alerts #18332

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

Merged
merged 1 commit into from
Jul 24, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ spec:
rules:
- record: gitpod_workspace_regular_not_active_percentage_mk2
expr: |
gitpod_ws_manager_mk2_workspace_activity_total{active="false"} / gitpod_ws_manager_mk2_workspace_activity_total
sum(gitpod_ws_manager_mk2_workspace_activity_total{active="false"}) by (cluster) / sum(gitpod_ws_manager_mk2_workspace_activity_total) by (cluster)

- name: workspace-alerts
rules:
- alert: GitpodWorkspaceTooManyRegularNotActiveMk2
labels:
severity: critical
severity: warning
for: 10m
annotations:
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceTooManyRegularNotActive.md
Expand All @@ -34,7 +34,7 @@ spec:

- alert: GitpodWorkspacesNotStartingMk2
labels:
severity: critical
severity: warning
for: 10m
annotations:
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceNotStarting.md
Expand Down