The repository of the application is : https://github.com/maxgfr/web-monitoring.git
This project is an implementation of a monitoring, alerting, and reporting infrastructure system based on Prometheus, Grafana, and Kafka. The infrastructure is based on docker, and the web application is a node.js application that has these main dependencies :
- Install git
- Install docker
- Install docker-compose
- Clone this repository :
git clone --recursive https://github.com/maxgfr/web-monitoring.git
docker-compose up --build
docker-compose down --rmi 'all'
Now, we can run different type of request POST / GET / DELETE
(http://localhost:1603
) :
We can also open Prometheus
(http://localhost:9090
) :
Or see customized metrics in the application (http://localhost:1603/metrics
) :
Finally, we can use Grafana
for the monitoring of the application (http://localhost:3000
) :
By default, for Grafana
the username is admin
and the password is pass