Expand description
Prompt-cache miss attribution counters (#986): the proxy classifies each
anchored turn (proxy::cache_attribution) and counts the outcome here; the
proxy’s /status and the MCP server’s metrics read the cumulative gauges.
Structs§
- Cache
Attribution - Point-in-time view of the miss-attribution counters for
/status.
Enums§
- Cache
Outcome - The cache outcome attributed to one anchored (
cached > 0) request, by comparing its cacheable prefix + idle time against the previous turn.
Functions§
- record_
outcome - Count one attributed outcome.
- snapshot