doomhz / nodejs-application-monitoring-with-prometheus-and-grafana

Node.js Monitoring with Prometheus and Grafana

Home Page:https://codersociety.com/blog/articles/nodejs-performance-monitoring-with-prometheus-and-grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js Application Monitoring with Prometheus and Grafana

We discuss this repository in this article in detail: https://codersociety.com/blog/articles/nodejs-application-monitoring-with-prometheus-and-grafana

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.

Prerequisites

Make sure that you have Docker and Docker Compose installed:

Getting started

Clone the repository:

git clone https://github.com/coder-society/nodejs-monitoring-with-prometheus-and-grafana.git

Navigate into the project directory:

cd nodejs-monitoring-with-prometheus-and-grafana

Start the Docker containers:

docker-compose up -d

Test containers

Open monitoring dashboards

Open in your web browser the monitoring dashboards:

About

Node.js Monitoring with Prometheus and Grafana

https://codersociety.com/blog/articles/nodejs-performance-monitoring-with-prometheus-and-grafana


Languages

Language:JavaScript 83.3%Language:Dockerfile 16.7%