SLA and uptime tracking
📖 Scenario: You work for a company that provides online services. Your team needs to track the uptime of different services to make sure they meet the Service Level Agreement (SLA).Each service has a name and a list of uptime percentages recorded daily. You want to calculate which services meet the SLA threshold.
🎯 Goal: Build a simple program that stores uptime data for services, sets an SLA threshold, calculates which services meet the SLA, and prints the results.
📋 What You'll Learn
Create a dictionary with service names as keys and lists of daily uptime percentages as values
Create a variable for the SLA threshold percentage
Use a dictionary comprehension to find services that meet or exceed the SLA threshold on average
Print the dictionary of services that meet the SLA
💡 Why This Matters
🌍 Real World
Tracking uptime is important for companies to ensure their services are reliable and meet promised standards.
💼 Career
Many IT and DevOps roles require monitoring service performance and reporting SLA compliance.
Progress0 / 4 steps