node-prometheus-grafana

A PoC for monitoring a Node.js system with Prometheus on Grafana.

Uses package prometheus-api-metrics for automatically collecting stats on routes.

Running

To run:

docker-compose build
docker-compose up

This starts:

To test metrics, hit the following endpoints:

curl localhost:3000/

curl localhost:3000/slow

curl localhost:3000/unstable

curl localhost:3000/with-param/A1/B2