SRE Toil Tracking & Reporting Dashboards
Intermediate · 45 minutes · 100 points
In this hands-on lab, you will build a toil tracking and reporting system from scratch using Python and shell scripting. Toil — repetitive, manual, automatable work — is a core SRE concept. You will create a structured toil log, write scripts to ingest and categorize toil events, generate summary reports, and produce a text-based dashboard that surfaces key SRE metrics like toil percentage, category breakdown, and trend data. By the end, you will have a working toil tracking pipeline that mirrors real-world SRE operational tooling.
What you’ll learn
- Understand and implement a structured toil log format for tracking SRE operational burden
- Write Python scripts to parse, categorize, and aggregate toil data into meaningful metrics
- Generate a text-based SRE toil dashboard reporting toil percentage, category breakdowns, and weekly trends
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 3 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: sre, toil, dashboard, python, shell-scripting, reporting, metrics, automation, observability
Create a free account to start this lab.