Expand description
Minimal metrics sink for security primitives.
A zero-dependency, lock-free counter bundle for the Sprint 4 F1/F2
security aggregates. Prometheus export is intentionally out of
scope: the upstream binder crate (webxr) already runs a
Prometheus registry and can lift these atomics into gauges when it
wires the primitives in Sprint 4 / F7.
The struct is Clone (cheap — a handful of Arc<AtomicU64>), so
a single instance can be cloned into both SsrfPolicy and
DotfileAllowlist via their with_metrics(_) builders and also
retained by the operator for scraping.
Structs§
- Security
Metrics - Atomic counter bundle, cheap to clone.