Humanize output ofr alerts/machines-operation-rates.rules

parent 85f48351
......@@ -4,7 +4,7 @@ ALERT machines_creations_rate_is_too_high
FOR 20m
LABELS {severity="critical", channel="infrastructure"}
ANNOTATIONS {
title="Machines creation rate for runners is too high: {{$value}}",
title="Machines creation rate for runners is too high: {{$value | humanize}}",
description="Machines creation rate for the last 20 minutes is over 5. This may by a symptom of problems with auto-scaling provider. Check http://performance.gitlab.net/dashboard/db/ci.",
}
......@@ -14,7 +14,7 @@ ALERT machines_creation_rate_for_shared_runners_is_too_small
FOR 5m
LABELS {severity="critical", channel="infrastructure"}
ANNOTATIONS {
title="Machines creation rate for shared runners is too low: {{$value}}",
title="Machines creation rate for shared runners is too low: {{$value | humanize}}",
description="Machines creation rate for shared runners for the last 5 minutes is less than 0.1. This may suggest problems with auto-scaling provider. Check http://performance.gitlab.net/dashboard/db/ci.",
}
......@@ -24,6 +24,6 @@ ALERT machines_usage_rate_for_shared_runners_is_too_small
FOR 5m
LABELS {severity="critical", channel="infrastructure"}
ANNOTATIONS {
title="Machines usage rate for shared runners is too low: {{$value}}",
title="Machines usage rate for shared runners is too low: {{$value | humanize}}",
description="Machines usage rate for shared runners for the last 5 minutes is less than 0.1. This may suggest problems with auto-scaling provider. Check http://performance.gitlab.net/dashboard/db/ci.",
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment