Skip to main content

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​

PageWrittenValidatedScreenshots
1. Monitoring in GeneralYesN/AN/A
2. Everyday MonitoringYesN/AN/A
3. Monitoring During a Performance TestYesN/AN/A
4. The Grafana StackYesN/AN/A
5. Set Up PrometheusYesYesNo
6. Set Up LokiYesYesNo
7. Set Up AlloyYesYesNo
8. Set Up GrafanaYesYesNo
9. Dashboards and AlertsYesYesNo
10. Watch a Load TestYesYesNo
11. What Needs the Dev TeamYesN/AN/A
99. Future / To ExploreYesN/AN/A

Pages​

#TopicDescription
1Monitoring in GeneralThe mental model, metrics vs logs, and why it matters to the business
2Everyday MonitoringAlways-on dashboards, the four golden signals and alerts
3Monitoring During a Performance TestWhy the server tells you why, what to watch, baselines
4The Grafana StackWhat Alloy, Prometheus, Loki and Grafana each do
5Set Up PrometheusStart it next to the playground
6Set Up LokiStart it next to the playground
7Set Up AlloyCollect container metrics, logs and Postgres stats
8Set Up GrafanaConnect Prometheus and Loki
9Dashboards and AlertsAn everyday dashboard and one alert that fires
10Watch a Load Testk6 and the server on one dashboard
11What Needs the Dev TeamWhat a tester cannot see alone, and how to ask
99Future / To ExploreTraces, Mimir, Grafana Cloud, real servers

Your learning path​