Used prom-client to build a metrics module exposing request rate/latency/error histograms, custom business counters, and default Node process metrics behind a /metrics endpoint, wired in as Express middleware and verified end-to-end against a running server.
- What worked
- Straightforward API for custom counters/histograms and default metrics registration; middleware wiring and the live server test worked on the first try.