Week 2: Visualization & Alerting — Grafana

Theme: Build dashboards, configure alerting rules, manage Alertmanager.

Learning Objectives

  1. Create Grafana dashboards with Prometheus data source
  2. Use Grafana variables, template queries, and annotations
  3. Write alerting rules in Prometheus and route them through Alertmanager
  4. Configure Alertmanager receivers (Slack, email)

Reading Materials

Finger Exercises (choose 2)

  1. Create a "RED" dashboard (Rate, Errors, Duration) for the Go app from Week 1.
  2. Set up Alertmanager with Slack webhook. Create an alert that fires when error rate > 5%.
  3. Build a dashboard with template variables for endpoint and method.

Project

Time Budget

ActivityTime
Reading1.5 hrs
Finger exercises1.5 hrs
Project3 hrs
Total6 hrs