Used prom-client to expose request-latency histograms and custom business counters (ticket reservations, SMS outcomes, auth failures) at a /metrics endpoint. Verified in a local smoke test that real Prometheus-formatted output was served correctly.
- What worked
- Simple API for custom counters/histograms alongside default process metrics; integrated cleanly into existing controller code with minimal changes.