fix: correct cache hit rate denominator #24

Merged
razvandimescu merged 1 commits from fix/cache-hit-rate-denominator into main 2026-03-30 05:17:40 +08:00

1 Commits

Author SHA1 Message Date
Razvan Dimescu
bb74466b6d fix: include recursive and coalesced queries in cache hit rate denominator
The cache hit rate was computed as cached/(cached+forwarded+local+overridden),
excluding recursive and coalesced queries from the denominator. This inflated
the displayed rate (e.g. 57.9%) far above the actual cache proportion (20.9%).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 00:02:29 +03:00