Ravindra BagaleCourses & study guides मराठी

DevOps

Chapter 87: Prometheus and Grafana Monitoring

Friends, today we go deep on Prometheus and Grafana. Chapter 13 gave you the basics. Here you learn scrape, PromQL, exporters, ServiceMonitor, rules, Alertmanager, Grafana dashboards and SLOs. Keep a kind or Minikube cluster ready. We will install kube-prometheus-stack with Helm from chapter 85.

What you will learn in this chapter

  • Why metrics beat silent outages
  • Prometheus architecture: scrape, TSDB, PromQL
  • PromQL you use every day
  • Exporters and app /metrics endpoints
  • ServiceMonitor and PodMonitor with the operator
  • Recording rules and alerting rules
  • Alertmanager to email or Slack (no real secrets in Git)
  • Grafana datasources and a first dashboard
  • SLOs and burn rates (awareness)
  • Lab: kube-prometheus-stack via Helm
  • Comparison with CloudWatch; interview and revision

Where this sits. Chapter 13 taught monitoring basics. Chapter 83 practiced Prometheus projects. Chapter 85 taught Helm. This chapter teaches the Prometheus and Grafana stack itself, step by step. AWS EKS teaching comes next as chapter 88.

Concepts in this chapter

  1. 87.1Why metrics — the silent CPU saturation story
  2. 87.2Prometheus architecture — scrape, TSDB, PromQL
  3. 87.3PromQL you use every day
  4. 87.4Exporters and /metrics on apps
  5. 87.5ServiceMonitor and PodMonitor (Prometheus Operator)
  6. 87.6Recording rules and alerting rules
  7. 87.7Alertmanager — email and Slack without secrets in Git
  8. 87.8Grafana — datasource and a first dashboard
  9. 87.9SLOs and burn rates (awareness)
  10. 87.10Lab — kube-prometheus-stack with Helm
  11. 87.11Comparison, interview questions and revision

The chapter recap is at the end of the last concept page.