KPI Dashboards
📖 Scenario: You work in a factory that uses a SCADA system to monitor machines. You want to create a simple dashboard that shows key performance indicators (KPIs) like uptime, production count, and error count for each machine.
🎯 Goal: Build a basic KPI dashboard data structure, add a configuration for alert thresholds, calculate which machines exceed error limits, and display the results.
📋 What You'll Learn
Create a dictionary called
machines with exact machine names and their KPI valuesAdd a variable called
error_threshold with the value 5Use a
for loop with variables machine and kpis to find machines with errors above error_thresholdPrint the list of machines exceeding the error threshold exactly as shown
💡 Why This Matters
🌍 Real World
Factories use SCADA systems to monitor machine health and production. KPI dashboards help operators quickly see which machines need attention.
💼 Career
DevOps and automation engineers often create monitoring dashboards and alerts to keep systems running smoothly and prevent downtime.
Progress0 / 4 steps