promjs
promjs copied to clipboard
Add default metrics
It would be nice to provide some metrics out of the box for folks unfamiliar with prometheus.
For Node.js: a basic middleware to record latencies and status codes of server responses. Also expose a /metrics path.
For the browser: wrap the XMLHttpRequest prototype to instrument client requests.
Hurdles:
- scrub labels (URLs) for cardinality