The repository contains a sample Node.js app which integrates the Prometheus client for node.js and exposes metrics on http://localhost:8080/metrics. The metrics are periodically scraped by Prometheus and visualized through a Grafana monitoring dashboard.
Make sure that you have Docker and Docker Compose installed:
Clone the repository:
git clone https://github.com/Jaynil1611/Node-JS-Application-Level-Monitoring
Navigate into the project directory:
cd Node-JS-Application-Level-Monitoring
Start the Docker containers:
docker-compose up -d
- Prometheus should be accessible via http://localhost:9090
- Grafana should be accessible via http://localhost:3000
- Example Node.js server metrics for application monitoring should be accessible via http://localhost:8080/metrics
Open in your web browser the monitoring dashboards:
There are two Application Level Monitoring dashboards for the Node.js app which can be found on