Skip to content

Commit 0715308

Browse files
use changes metric
1 parent 47c0dc2 commit 0715308

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

helm-charts/support/values.jsonnet

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@ function(VARS_2I2C_AWS_ACCOUNT_ID=null)
7171
) {
7272
alert: 'Two servers failed to start in the last 30m',
7373
expr: |||
74-
round(
75-
increase(
76-
(
77-
max by (namespace) (
78-
jupyterhub_server_spawn_duration_seconds_count{status="failure"}
79-
)
80-
)[30m:1m]
81-
)
74+
changes(
75+
(
76+
max by (namespace) (
77+
jupyterhub_server_spawn_duration_seconds_count{status="failure"}
78+
)
79+
)[30m:1m]
8280
) >= 2
8381
|||,
8482
'for': '0m',

0 commit comments

Comments
 (0)