REQUEST_DURATION, ACTIVE_REQUESTS, CACHE_HITS and CACHE_MISSES were registered
and charted in Grafana but nothing wrote to them, so two dashboard panels were
empty. Adds MetricsMiddleware (pure ASGI, endpoint label = route template) and
record_cache() on /predict; p95 query now aggregates by le. 745 tests pass.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>