From 641d19f52bfe05dbaa1c93336f9cddaad5c5f30c Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Mon, 29 Nov 2021 16:03:29 -0300 Subject: [PATCH] Adjust sucess criteria dashboard --- .../mixins/workspace/dashboards/success-criteria.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operations/observability/mixins/workspace/dashboards/success-criteria.json b/operations/observability/mixins/workspace/dashboards/success-criteria.json index 7639bff54a6f8f..6f7109d26d5770 100644 --- a/operations/observability/mixins/workspace/dashboards/success-criteria.json +++ b/operations/observability/mixins/workspace/dashboards/success-criteria.json @@ -101,7 +101,7 @@ "targets": [ { "exemplar": true, - "expr": "1-((\n (\n sum(rate(gitpod_ws_manager_workspace_stops_total{reason=\"failed\",type!~\"GHOST|PREBUILD\"}[30d]))\n /\n sum(rate(gitpod_ws_manager_workspace_stops_total{type!~\"GHOST|PREBUILD\"}[30d]))\n )\n) + (\n (\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",grpc_code!~\"OK|ResourceExhausted\"}[30d]))\n /\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\"}[30d]))\n )\n))", + "expr": "1-((\n (\n sum(rate(gitpod_ws_manager_workspace_stops_total{reason=\"failed\",type!~\"GHOST|PREBUILD\"}[1d]))\n /\n sum(rate(gitpod_ws_manager_workspace_stops_total{type!~\"GHOST|PREBUILD\"}[1d]))\n )\n) + (\n (\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",grpc_code!~\"OK|ResourceExhausted\"}[1d]))\n /\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\"}[1d]))\n )\n))", "interval": "", "legendFormat": "Success Rate", "refId": "A"