mooc-notes

Notes from online courses

View on GitHub

Monitoring Containerized Appliction Health with Docker - Pluralsight course by Elton Stoneman

Module 1 - Course overview

Monitoring is one of the biggest advantages Docker brings. Number 1 barrier from migrating applications to containers has been monitoring.

Course objectives

Module overview

  1. Monitoring Architecture
  2. Collecting Metrics using Prometheus
  3. Runtime Metrics - metrics collected by OS and web server
  4. Application Metrics - custom stats relevant to application
  5. Docker / Container Metrics 
  6. Building dashboards using Grafana

Module 2 - Architecting monitoring for containerised applications

Prometheus - covered in detail in a later module

Consistent monitoring with containers

Docker platform metrics

Great thing about monitoring containerised apps is the consistency

Module summary - Containerised app monitoring


Module 3 - Collecting Metrics with Prometheus

A metrics server is the central point for collecting and storing monitoring data in containerised applications. Prometheus is the most popular metrics server. It’s open-source, cross-platform, Docker-friendly and extremely powerful. 

Module overview

Running Prometheus in Docker

Configuration and service discovery in Prometheus

You’ll run your Prometheus container in the same Docker network as the application container. You’ll configure P to poll those containers as scrape targets and set a schedule to how often P makes an HTTP GET request to the /metrics endpoints in the containers

Understanding Prom Data Types


Module 4 - Exposing Runtime Metrics to Prometheus

Exporter

to be continued…