Expand description
Persistent (on-disk / long-lived) telemetry façade.
This module exposes a stable public API over what will eventually be a disk-backed store. The legacy implementation returned empty collections by design so that callers could be written today without waiting for the storage backend; that behaviour is preserved here byte-for-byte.
Structs§
- Persistent
Stats - Outer wrapper that matches the legacy JSON schema
{"stats": { ... }}. - Persistent
Stats Inner - On-disk cumulative stats payload.
Functions§
- get_
persistent_ stats - Load the persistent stats. Currently returns
PersistentStats::default(matches legacy behaviour). - record_
persistent - Record a persistent telemetry entry. Currently a tracing-only sink; the signature is kept stable so a future disk-backed implementation can drop in without breaking callers.