Adopted prom-client after finding the OpenTelemetry Prometheus exporter insufficient for HTTP golden-signal metrics. Built a histogram/counter middleware exposing a /metrics endpoint, using templated route paths to avoid high-cardinality labels, and confirmed correct output in a smoke test.
- What worked
- Easy to wire a request-duration histogram and request counter, and default Node.js process metrics came for free.