Expand description
HTTP-core verdict-edge metrics surfaced through the workspace
chio-metrics-spec registry. The HTTP edge is wired into the workspace
registry: every authority dispatch through
HttpAuthority::evaluate increments
CHIO_GUARD_EVALUATIONS_TOTAL with a (guard, outcome) label
pair and observes the dispatch latency under
CHIO_KERNEL_DECISION_LATENCY_SECONDS.
Constants§
- CHIO_
GUARD_ EVALUATIONS_ TOTAL - CHIO_
KERNEL_ DECISION_ LATENCY_ SECONDS - DECISION_
LATENCY_ BUCKETS_ SECONDS - GUARD_
LABEL_ HTTP_ AUTHORITY - GUARD_
OUTCOME_ ALLOW - GUARD_
OUTCOME_ DENY - GUARD_
OUTCOME_ ERROR
Functions§
- decision_
latency_ count - guard_
evaluations_ total - observe_
decision_ latency_ nanos - Observe a kernel decision latency sample in nanoseconds.
- observe_
decision_ latency_ nanos_ for_ outcome - Observe a kernel decision latency sample in nanoseconds for a verdict outcome. Unknown labels fail closed into the error series.
- record_
dispatch_ failure - +1 on chio_dispatch_failure_total for a genuine mediation-edge failure: the
request could not be evaluated (a fail-open/dispatch condition).
outcomeis “error”. A normal policy/capability deny is an expected fail-closed decision, NOT a dispatch failure, and must never feed this counter or it would page the P0 alert on every rejected request. Denies are tracked by the guard-verdict metrics instead. Never called on allow. - record_
guard_ evaluation - Record the outcome of an HTTP authority evaluation. The
outcomeargument should be one ofGUARD_OUTCOME_ALLOW,GUARD_OUTCOME_DENY, orGUARD_OUTCOME_ERROR. - render_
http_ core_ metrics_ prometheus