Expand description
Prometheus text exposition for guard metrics.
Structs§
Enums§
- Prometheus
Metric Kind - Prometheus metric family kind.
Constants§
- GUARD_
METRICS_ PATH - GUARD_
METRIC_ FAMILIES - METRIC_
CHIO_ OTEL_ INGRESS_ DROP_ TOTAL - METRIC_
CHIO_ OTEL_ SINK_ DROP_ TOTAL - PROMETHEUS_
TEXT_ CONTENT_ TYPE
Functions§
- guard_
metrics_ endpoint - record_
receipt_ health_ gauges - Turn a receipt-store health report into the watchdog gauges: the
uncheckpointed entry_seq range and the seconds since the last commit. A
serve-mode watchdog loop calls this on an interval so uncheckpointed growth
and checkpoint staleness are observable without a human
chio receipt healthrun. - render_
guard_ metrics_ prometheus - Render the kernel
/metricsbody from the chio-metrics-spec runtime families. The kernel renders the guard families and the two OTEL-drop families (whose sole producers are chio-wasm-guards and the OTLP ingress, which cannot be depended on by the kernel), the signing-queue block family, the settlement unresolved family, the ambiguous-dispatch retained-hold family, and receipt watchdog gauges. Every sample comes from its shared runtime family rather than a fixed zero.