Monitoring
How a team watches its systems every day, and how a tester watches the server while a load test runs. Concepts first, then one shared setup of Grafana, Alloy, Prometheus and Loki next to the Playground, then each use hands-on.
Important: This module is in progress, written against Grafana 13.2.3, Alloy v1.20.1, Prometheus v3.15.0, Loki 3.7.8 and k6 v2.2.0. Every config file lives in
monitoring/sample/.
⬇ Download the monitoring sample (.zip)
Status
| Page | Written | Validated | Screenshots |
|---|---|---|---|
| 1. Monitoring in General | Yes | N/A | N/A |
| 2. Everyday Monitoring | Yes | N/A | N/A |
| 3. Monitoring During a Performance Test | Yes | N/A | N/A |
| 4. The Grafana Stack | Yes | N/A | N/A |
| 5. Set Up Prometheus | Yes | Yes | No |
| 6. Set Up Loki | Yes | Yes | No |
| 7. Set Up Alloy | Yes | Yes | No |
| 8. Set Up Grafana | Yes | Yes | No |
| 9. Dashboards and Alerts | Yes | Yes | No |
| 10. Watch a Load Test | Yes | Yes | No |
| 11. What Needs the Dev Team | Yes | N/A | N/A |
| 99. Future / To Explore | Yes | N/A | N/A |
Pages
| # | Topic | Description |
|---|---|---|
| 1 | Monitoring in General | The mental model, metrics vs logs, and why it matters to the business |
| 2 | Everyday Monitoring | Always-on dashboards, the four golden signals and alerts |
| 3 | Monitoring During a Performance Test | Why the server tells you why, what to watch, baselines |
| 4 | The Grafana Stack | What Alloy, Prometheus, Loki and Grafana each do |
| 5 | Set Up Prometheus | Start it next to the playground |
| 6 | Set Up Loki | Start it next to the playground |
| 7 | Set Up Alloy | Collect container metrics, logs and Postgres stats |
| 8 | Set Up Grafana | Connect Prometheus and Loki |
| 9 | Dashboards and Alerts | An everyday dashboard and one alert that fires |
| 10 | Watch a Load Test | k6 and the server on one dashboard |
| 11 | What Needs the Dev Team | What a tester cannot see alone, and how to ask |
| 99 | Future / To Explore | Traces, Mimir, Grafana Cloud, real servers |
Your learning path
0 of 13 done0%
Start with: Monitoring in General →01Concepts0/4
02Practice target0/2
03Set up the stack0/4
04Use it0/3