Platform Observability and SLAs
📖 Scenario: You work as a DevOps engineer for a machine learning platform team. Your team wants to monitor the platform's health by tracking service uptime and response times. They also want to check if the platform meets the agreed Service Level Agreements (SLAs).SLAs require the platform to have at least 99% uptime and average response time below 200 milliseconds.
🎯 Goal: Build a simple Python script that stores platform metrics, sets SLA thresholds, calculates uptime and average response time, and prints whether the platform meets the SLAs.
📋 What You'll Learn
Create a dictionary with exact platform metrics data
Add SLA threshold variables for uptime and response time
Calculate uptime percentage and average response time using loops
Print the SLA compliance results exactly as specified
💡 Why This Matters
🌍 Real World
Monitoring platform health and ensuring it meets SLAs is critical for reliable machine learning services.
💼 Career
DevOps engineers and MLOps specialists use observability and SLA checks daily to maintain service quality.
Progress0 / 4 steps