fix(metrics): preserve runtime limit rejection labels
CI / UI Checks (pull_request) Successful in 12s
CI / Rust Checks (pull_request) Successful in 38m11s
CI / Rust Feature Validation (pull_request) Failing after 10s
CI / Frontend E2E (pull_request) Failing after 25m28s
CI / Community Image Smoke (pull_request) Failing after 27m22s
CI / Required Checks (pull_request) Failing after 1s
CI / Deploy (pull_request) Skipped

This commit is contained in:
Codex (teamlead-profile) committed 2026-12-05 19:25:05 +00:00
1 parent 2fa5b9de67
commit c31a0e8e5c
8 files changed
+92 -43

No files matched your search

+14 -4
View File
@@ -407,16 +407,26 @@ pub(crate) const METRIC_SCHEMA: &[MetricDefinition] = &[
"crank_runtime_limit_rejections_total",
MetricKind::Counter,
MetricUnit::Count,
&["stage", "reason", "scope_kind"],
&["stage"],
&[domain("stage", LIMIT_STAGES)],
&[],
BOTH,
3,
"Runtime executions rejected by a bounded limit.",
),
metric(
"crank_runtime_admission_rejections_total",
MetricKind::Counter,
MetricUnit::Count,
&["reason", "scope_kind"],
&[
domain("stage", LIMIT_STAGES),
domain("reason", REJECTION_REASONS),
domain("scope_kind", SCOPE_KINDS),
],
&[],
BOTH,
96,
"Runtime executions rejected by a bounded limit.",
15,
"Runtime executions rejected by scoped admission.",
),
metric(
"crank_runtime_admission_queue_wait_seconds",