Learn monitoring and observability, deploy a Docker monitoring stack, scrape metrics with Prometheus, visualize in Grafana, centralize logs with Loki, and set production alerts.
Monitoring & Observability Fundamentals
Understand monitoring vs observability, the three pillars (metrics, logs, traces), and why production systems need continuous visibility.
Monitoring Ecosystem & Production Architecture
Compare paid vs open-source monitoring stacks and design a two-server AWS layout — application server plus dedicated monitoring server.
Docker Monitoring Stack
Install Docker Compose and run Prometheus, Grafana, and Loki as a local monitoring stack with persistent volumes.
Application Server Setup
Prepare the app host with Docker, Node Exporter, Node.js, PM2, and Nginx reverse proxy so Prometheus can scrape host and application metrics.
Prometheus Fundamentals
Understand pull-based scraping, targets, exporters, metric types, and labels — then configure prometheus.yml for your hosts.
PromQL Basics
Query Prometheus with PromQL — rate, increase, avg, sum, and common patterns for dashboards and alerts.
Grafana Dashboards
Connect Grafana to Prometheus, build panels for host and application metrics, and understand p95/p99 latency views.
Loki Logging, Alerts & Node.js Metrics
Centralize logs with Loki, configure Grafana email alerts over SMTP, and expose Node.js metrics with prom-client.