Infrastructure and application monitoring using Prometheus
summary
Prometheus is shown running from a single binary and as a Docker image, scraping node_exporter for host and container metrics, using Docker Compose and Consul service discovery to find endpoints. Grafana builds dashboards from Prometheus queries, alertmanager sends notifications to Slack and email, and Pushgateway handles short jobs. A Spring Boot app exposes a custom HelloRequestTotal counter to Prometheus. Demos include network bytes, container up/down alerts, and live query construction.
AI-written summary · about
chapters (11)
- 0:00Introduction to monitoring
- 5:59Logging vs monitoring
- 11:20Why Prometheus
- 17:40Prometheus setup demo
- 22:28Running Prometheus with Docker
- 30:13Visualizing metrics with Grafana
- 35:21Monitoring containers
- 38:48Setting up alerts
- 45:05Instrumenting applications
- 49:22Service discovery integration
- 52:26Key takeaways on monitoring
