This article assumes prior knowledge of Docker containers, Prometheus and Grafana.

Use cases:
- Monitor container metrics
- Send Alerts when a container is stopped / down

We are going to use the following tools.

cadvisorhttps://github.com/google/cadvisor
Analyzes resource usage and performance characteristics of running containers.

Prometheushttps://prometheus.io/
Event monitoring and alerting. It records real-time metrics in a time series database built using an HTTP pull model, with flexible queries and real-time alerting.

Grafana — https://grafana.com/
Multi-platform open-source analytics and interactive visualization web application. It provides charts, graphs, and alerts.

Steps

(1)
Install cadvisor on the host you…

Eric kogi

Software Developer

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