monitoring: keep quality check status without branch labels
This commit is contained in:
parent
7dc03eefce
commit
65298d7357
@ -183,10 +183,21 @@ data:
|
||||
expr: |
|
||||
sum by (suite, branch, check, status) (
|
||||
max_over_time({__name__=~".*_quality_gate_checks_total",exported_job="platform-quality-ci",suite!="",branch!="",check!="",status!=""}[1h])
|
||||
or label_replace(
|
||||
max_over_time({__name__=~".*_quality_gate_checks_total",exported_job="platform-quality-ci",suite!="",branch="",check!="",status!=""}[1h]),
|
||||
"branch", "unknown", "__name__", ".*"
|
||||
)
|
||||
or label_replace(
|
||||
max_over_time({__name__=~".*_quality_gate_checks_total",exported_job="platform-quality-ci",suite!="",branch!="",check!="",result!="",status=""}[1h]),
|
||||
"status", "$1", "result", "(.*)"
|
||||
)
|
||||
or label_replace(
|
||||
label_replace(
|
||||
max_over_time({__name__=~".*_quality_gate_checks_total",exported_job="platform-quality-ci",suite!="",branch="",check!="",result!="",status=""}[1h]),
|
||||
"status", "$1", "result", "(.*)"
|
||||
),
|
||||
"branch", "unknown", "__name__", ".*"
|
||||
)
|
||||
)
|
||||
labels:
|
||||
rollup: hourly
|
||||
@ -219,7 +230,7 @@ spec:
|
||||
labels:
|
||||
app: vmalert-atlas-availability
|
||||
annotations:
|
||||
bstein.dev/rules-revision: "2026-05-16-platform-quality-check-status"
|
||||
bstein.dev/rules-revision: "2026-05-16-platform-quality-check-branch"
|
||||
spec:
|
||||
serviceAccountName: vmalert-atlas-availability
|
||||
affinity:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user