Skip to content

Commit 8266f61

Browse files
authored
Fix gitpod_workspace_regular_not_active_percentage_mk2, and temporarily disable related alerts (#18332)
We'll likely replace the alerts too, using one that detects anomalies given zscore. Related to ENG-20
1 parent 2d3c03e commit 8266f61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

operations/observability/mixins/workspace/rules/satellite/workspaces.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ spec:
1515
rules:
1616
- record: gitpod_workspace_regular_not_active_percentage_mk2
1717
expr: |
18-
gitpod_ws_manager_mk2_workspace_activity_total{active="false"} / gitpod_ws_manager_mk2_workspace_activity_total
18+
sum(gitpod_ws_manager_mk2_workspace_activity_total{active="false"}) by (cluster) / sum(gitpod_ws_manager_mk2_workspace_activity_total) by (cluster)
1919
2020
- name: workspace-alerts
2121
rules:
2222
- alert: GitpodWorkspaceTooManyRegularNotActiveMk2
2323
labels:
24-
severity: critical
24+
severity: warning
2525
for: 10m
2626
annotations:
2727
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceTooManyRegularNotActive.md
@@ -34,7 +34,7 @@ spec:
3434
3535
- alert: GitpodWorkspacesNotStartingMk2
3636
labels:
37-
severity: critical
37+
severity: warning
3838
for: 10m
3939
annotations:
4040
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceNotStarting.md

0 commit comments

Comments
 (0)