Skip to content

Commit b9c841f

Browse files
jentingroboquat
authored andcommitted
obs: fix new workspace does not shown workspace success rate
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 537a680 commit b9c841f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operations/observability/mixins/workspace/dashboards/success-criteria.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"uid": "${datasource}"
8888
},
8989
"exemplar": false,
90-
"expr": "1-((\n (\n (sum(rate(gitpod_ws_manager_workspace_stops_total{reason=\"failed\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d])) OR on() vector(0))\n /\n sum(rate(gitpod_ws_manager_workspace_stops_total{cluster!~\"prod-meta-.*|ephemeral.*\"}[1d]))\n )\n) + (\n (\n (sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",grpc_code!~\"OK|ResourceExhausted\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d])) OR on() vector(0))\n /\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d]))\n )\n))",
90+
"expr": "1-((\n (\n (sum(rate(gitpod_ws_manager_workspace_stops_total{reason=\"failed\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d])) OR on() vector(0))\n /\n sum(rate(gitpod_ws_manager_workspace_stops_total{cluster!~\"prod-meta-.*|ephemeral.*\"}[1d]))\n )\n) OR on() vector(0) + (\n (\n (sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",grpc_code!~\"OK|ResourceExhausted\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d])) OR on() vector(0))\n /\n sum(rate(grpc_server_handled_total{grpc_method=\"StartWorkspace\",cluster!~\"prod-meta-.*|ephemeral.*\"}[1d]))\n )\n))",
9191
"instant": false,
9292
"interval": "",
9393
"legendFormat": "Success Rate",

0 commit comments

Comments
 (0)