Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.78 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.78 KB

Node.js Application Monitoring with Prometheus and Grafana

The repository contains a sample Node.js app that 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.

Prerequisites

Make sure that you have Docker and Docker Compose installed:

Getting started

Clone the repository:

git clone https://github.com/arpendu11/node-prometheus-grafana.git

Navigate into the project directory:

cd node-prometheus-grafana

Start the Docker containers:

docker-compose up -d

Test containers

Open monitoring dashboards

Open in your web browser the monitoring dashboards: