Monitoring & Observability: Why It Matters
Beginner · 30 minutes · 100 points
In this foundational lab, you will explore the core concepts of monitoring and observability by setting up basic system and application monitoring tools inside a Linux container. You will collect metrics, inspect logs, write a simple health-check script, and simulate a problem to observe how good observability helps you detect and diagnose issues quickly. By the end, you will understand the three pillars of observability — metrics, logs, and traces — and why they are essential in modern DevOps practice.
What you’ll learn
- Understand the three pillars of observability: metrics, logs, and traces
- Use built-in Linux tools to collect system metrics such as CPU, memory, and disk usage
- Write and execute a shell-based health-check script that simulates application monitoring
- Generate and inspect structured log entries to practice log-based observability
- Simulate a resource spike and detect it using monitoring commands
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: monitoring, observability, metrics, logs, health-check, devops, linux, shell
Create a free account to start this lab.