JenTing Hsiao bb96008cb6 Fix the metric workspace_starts_failure_total and workspace_stops_total
Increase the metric workspace_starts_failure_total when the workspace stops and
the pod's annotation "gitpod/never-ready" exist. It means the workspace pod never
went into the running state, probably because
- the workspace pod can't allocate to the workspace node
- content initialization failure
- the workspace pod is never ready

Increase the metric workspace_stop_total when the workspace stops and
the pod's annotation "gitpod/never-ready" does not exist. So, the metric
workspace_stop_total does not increase on the start failure.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-04 23:47:44 +01:00
..
2020-08-25 09:25:15 +00:00
2022-08-05 11:42:49 -03:00
2021-11-05 10:33:03 +01:00
2021-11-05 10:33:03 +01:00
2021-11-05 10:33:03 +01:00
2022-01-24 20:08:17 +01:00
2021-11-05 10:33:03 +01:00
2020-08-25 09:25:15 +00:00
2020-08-25 09:25:15 +00:00
2022-08-31 16:08:16 +02:00
2022-08-31 16:08:16 +02:00
2022-08-31 16:08:16 +02:00
2022-12-08 13:05:19 -03:00
2021-03-01 14:00:58 -03:00
2022-08-13 03:01:29 +02:00
2022-12-08 13:05:19 -03:00
2020-08-25 09:25:15 +00:00