Skip to content

maxgfr/web-monitoring

Repository files navigation

web-monitoring

The repository of the application is : https://github.com/maxgfr/web-monitoring.git

Description

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 :

Requirements

  1. Install git
  2. Install docker
  3. Install docker-compose
  4. Clone this repository :
git clone --recursive https://github.com/maxgfr/web-monitoring.git

Building & Running

To start the infrastructure

docker-compose up --build

To stop and remove the infrastructure

docker-compose down --rmi 'all'

Usage

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