From b57d8707e45aae821ee61e650814318348dea529 Mon Sep 17 00:00:00 2001 From: Thomas Schubart <24721048+Furisto@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:33:53 +0200 Subject: [PATCH] Include regular not active alerts in Dedicated (#18702) --- .../mixins/workspace/rules/satellite/workspaces.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml b/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml index 9a0ada8a4604f2..77770b666ca8cc 100644 --- a/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml +++ b/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml @@ -14,6 +14,8 @@ spec: - name: workspace-rules rules: - record: gitpod_workspace_regular_not_active_percentage_mk2 + labels: + dedicated: included expr: | sum(gitpod_ws_manager_mk2_workspace_activity_total{active="false"}) by (cluster) / sum(gitpod_ws_manager_mk2_workspace_activity_total) by (cluster) @@ -22,8 +24,7 @@ spec: - alert: GitpodWorkspaceTooManyRegularNotActiveMk2 labels: severity: critical - # TODO: uncomment after recording rule import is working in Grafana Cloud - # dedicated: included + dedicated: included for: 10m annotations: runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceRegularNotActive.md @@ -37,8 +38,7 @@ spec: - alert: GitpodWorkspacesNotStartingMk2 labels: severity: critical - # TODO: uncomment after recording rule import is working in Grafana Cloud - # dedicated: included + dedicated: included for: 10m annotations: runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceRegularNotActive.md