Docker Monitoring Stack with Grafana

About

  • Grafana: For visualising graphs
  • Prometheus: Timeseries Database for Metrics
  • cAdvisor: Exposes Container Metrics
  • Node-Exporter: Exposes Node Metrics
  • Alertmanager: Manages Alerts

Setup

git clone https://github.com/ruanbekker/docker-monitoring-stack-gpnc
cd docker-monitoring-stack-gpnc
help                           This help.
up Runs the containers in detached mode
clean Stops and removes all containers
logs View the logs from the containers
open Opens tabs in container

Boot

docker-compose up -d
docker-compose ps
Name                   Command                  State               Ports         
--------------------------------------------------------------------------------------
cadvisor /usr/bin/cadvisor -logtostderr Up (healthy) 8080/tcp
grafana /run.sh Up 0.0.0.0:3000->3000/tcp
node-exporter /bin/node_exporter --path. ... Up 9100/tcp
prometheus /bin/prometheus --config.f ... Up 0.0.0.0:9090->9090/tcp
alertmanager /bin/alertmanager --config ... Up 0.0.0.0:9093->9093/tcp

Endpoints

Cleanup

docker-compose down

Github Repository

Thank You

--

--

--

DevOps Engineer and Open Source Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Numeric data types in Ruby

How to Prevent Problems with Your Conveyor Belts

Getting ready for Xero’s refreshed app partner program!

Platform-as-Code: how it relates to Infrastructure-as-Code and what it enables

Why an Engineering Degree Won’t Make You a Good Engineer and How to Stand Out

Sneak Peek into Haptik’s Engineering Culture | Haptik Tech Blog

Shits Broken, Now What!?

Managing unmanaged objects in C#

Four garbage bins in a street.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ruan Bekker

Ruan Bekker

DevOps Engineer and Open Source Enthusiast

More from Medium

How to setup Redis-Sentinel cluster on Kubernetes / Openshift

Kubernetes Cluster with Rancher

Web Server Monitoring Your Application on Nginx with Logz.io

Kubernetes: Accessing multiple endpoints via Kube-Ingress using Flask