Prometheus and Grafana
Monitor Waypoint like a production service: collect metrics with Prometheus, query them with PromQL, build Grafana dashboards and write SLO-based alerts that page only when passengers are affected.
Modules
9
Lessons
66
Level
Intermediate
Project
Reviewed by a mentor
About This Course
Running a system is only half the job: you also need to know when it's unhealthy, before passengers do. You'll start with the ideas behind observability (signals, SLIs, SLOs and error budgets), then learn Prometheus with Docker: metrics, scraping, exporters, PromQL and instrumenting an application. On your kind cluster you'll monitor Kubernetes and Waypoint with kube-prometheus-stack, build Grafana dashboards and write alerts tied to Waypoint's SLO. Logs and traces close the course, as concepts.
You'll Be Able To
- Explain metrics, logs and traces, and when each one is useful.
- Define SLIs and SLOs and work out an error budget.
- Run Prometheus, configure scraping and use exporters.
- Write PromQL queries for the four golden signals.
- Instrument an application and monitor it on Kubernetes.
- Build useful Grafana dashboards.
- Write alerts that are actionable, routed to the right place and tied to SLOs.
What's Inside
- 1
Observability fundamentals
8 lessons
Learn what monitoring and observability are, which signals to watch for any service, and how SLIs, SLOs and error budgets turn "reliable enough" into numbers a team can act on.
- 2
Metrics
5 lessons
Read the metrics an application publishes: time series, labels and the four metric types, why too many label values can sink Prometheus, and how metrics are pulled or pushed.
- 3
Prometheus
8 lessons
Run Prometheus in Docker, write its scrape configuration, read the targets page, monitor a Linux server with node_exporter, and decide how long to keep the data.
- 4
PromQL
9 lessons
Write PromQL from scratch: select series, turn counters into rates, aggregate and divide them, estimate latency percentiles, and save the results as recording rules.
- 5
Instrumenting applications
5 lessons
Add Prometheus metrics to your own code: use the client libraries, serve /metrics, choose and name the right metrics, then watch Waypoint's API react as you break it on purpose.
- 6
Prometheus on Kubernetes
7 lessons
Install kube-prometheus-stack on your kind cluster with Helm, scrape Waypoint with a ServiceMonitor, and learn which node, pod and container metrics show a cluster's health.
- 7
Grafana
9 lessons
Build Grafana dashboards for Waypoint: use data sources, choose panels with clear units, add variables, import community dashboards and keep dashboards as code in Git.
- 8
Alerting
10 lessons
Write alerts worth waking up for: Prometheus alerting rules, Alertmanager routing to Slack or email, grouping and silences, and SLO burn-rate alerts tested by breaking Waypoint.
- 9
Logs and traces
5 lessons
Learn how structured logs, Loki, distributed traces and OpenTelemetry complement your metrics, and follow one Waypoint request through its JSON logs with jq.