Example monitoring local setup.
- Grafana for data visualization.
- Loki for log aggregation.
- Prometheus for metrics aggregation.
- Pushgateway for exposing metrics from ephemeral jobs.
Spin up the docker-compose.
docker-compose up
Then you can access
- grafana on localhost:3000
- prometheus on localhost:9090
Import dashboard 11159
to see nodejs metrics.
Currently, I'm using the loki push API directly to store logs. It would be better to let promtail
to aggregate them instead.