Skip to content

Commit b31278f

Browse files
jentingroboquat
authored andcommitted
observability: assign default zero if no data found
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 450ab15 commit b31278f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operations/observability/mixins/cross-teams/dashboards/gitpod-overview.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ local workspaceFailuresGraph =
170170
|||
171171
sum(
172172
rate(gitpod_ws_manager_workspace_stops_total{%(clusterLabel)s=~"$cluster", reason="failed"}[5m])
173-
) by (%(clusterLabel)s, type)
173+
) by (%(clusterLabel)s, type) OR on() vector(0)
174174
||| % _config, legendFormat='{{type}}'
175175
))
176176
.addSeriesOverride({ alias: 'REGULAR', color: '#73BF69' })

0 commit comments

Comments
 (0)