PrometheusGrafanaGrafana Loki Intermediate Free course, 2 parts
Monitoring and logs
Metrics, logs, alerts and uptime checks, so you hear about problems before your users do.
For teams running production apps.
- 10 lessons
- 4h 10m total time
- 3 hands-on labs
- 3 diagrams
- 10 quizzes
Course complete
You finished Monitoring and logs
All 10 lessons done on . Share it, print the certificate, or start the next course below.
Levelrail Learn Certificate of completion Completed Monitoring and logs on Levelrail Learn 10 lessons, 4h 10m of guided practice levelrail.com/learn/courses/monitoring-and-logs/
What you will be able to do
- Collect and read logs
- Track the metrics that matter
- Alert without alert fatigue
- Build a simple status check
Syllabus
10 lessons in 2 parts, 4h 10m in total
Part 1
Lessons 1 to 5
5 lessons, 1h 55m 0/5- What to monitor first on a small server Up next Done Monitor a small server by watching the four golden signals (latency, traffic, errors, saturation) through a short list of checks: uptime from outside, disk, memory, error rate, certificate expiry and backups. 10 min Beginner Quiz
- Uptime checks with a bash script and a systemd timer Up next Done An uptime check is a script on a different machine that requests your URL on a schedule, checks the status and body, and sends a webhook alert only when the state changes. 25 min Intermediate Lab Quiz
- Log basics on Linux: journald, journalctl and logrotate Up next Done Services write logs to stdout, which journald stores, or to files, which logrotate rotates; cap both so logs never fill the disk and read them with journalctl. 20 min Beginner Lab Quiz
- Centralize logs with rsyslog or Loki Up next Done Centralizing logs means shipping them from each server to one searchable place, either with rsyslog forwarding over TCP or with a collector that pushes to Grafana Loki. 30 min Intermediate Diagram Quiz
- Prometheus and node_exporter basics for a Linux server Up next Done Prometheus pulls metrics over HTTP from exporters such as node_exporter on port 9100, stores them as time series and lets you query them with PromQL. 30 min Intermediate Diagram Quiz
Part 2
Lessons 6 to 10
5 lessons, 2h 15m 0/5- Grafana dashboards for CPU, memory and disk Up next Done Grafana draws Prometheus data as graphs: add Prometheus as a data source, write one PromQL query per panel, add an instance variable and keep Grafana behind HTTPS with a changed admin password. 30 min Intermediate Quiz
- Alerting without alert fatigue: Prometheus and Alertmanager Up next Done Good alerting fires only on symptoms a human must act on, waits with a for duration to avoid blips, separates pages from tickets and uses Alertmanager to group, inhibit and silence notifications. 25 min Intermediate Diagram Quiz
- Disk, memory and CPU alerts that matter (Prometheus rules) Up next Done The alerts worth having on a server are disk predicted to fill, low filesystem space, low available memory, OOM kills, sustained CPU and load, heavy swap and a node that stopped reporting, each with thresholds you tune. 25 min Intermediate Quiz
- Container metrics with cAdvisor and docker stats Up next Done docker stats shows live per-container CPU and memory in the terminal, while cAdvisor exports the same data as Prometheus metrics so you can graph and alert on each container. 25 min Intermediate Lab Quiz
- Build a public status page for your service Up next Done A public status page tells users whether your service works right now; host it separately from the service it reports on and update it from a check script or a self-hosted status tool. 30 min Intermediate Quiz