Challenge: Service Uptime Analyzer
In DevOps, maintaining high service uptime is a top priority, as even short outages can impact users and business operations. Being able to quickly analyze and identify servers that are underperforming helps you take proactive steps to ensure reliability. In this challenge, you will use your skills with pandas DataFrames to process and interpret service uptime data, making it easier to spot issues before they escalate.
Swipe to start coding
You need to implement a script that analyzes service uptime data for a set of servers and highlights any that fall below a specified threshold.
- Create a pandas DataFrame from the provided list of dictionaries.
- Calculate the average uptime across all servers.
- Identify servers with uptime less than the threshold.
- Print the average uptime and a list of underperforming servers, or indicate if all meet the threshold.
Løsning
Tak for dine kommentarer!
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 4.76
Challenge: Service Uptime Analyzer
Stryg for at vise menuen
In DevOps, maintaining high service uptime is a top priority, as even short outages can impact users and business operations. Being able to quickly analyze and identify servers that are underperforming helps you take proactive steps to ensure reliability. In this challenge, you will use your skills with pandas DataFrames to process and interpret service uptime data, making it easier to spot issues before they escalate.
Swipe to start coding
You need to implement a script that analyzes service uptime data for a set of servers and highlights any that fall below a specified threshold.
- Create a pandas DataFrame from the provided list of dictionaries.
- Calculate the average uptime across all servers.
- Identify servers with uptime less than the threshold.
- Print the average uptime and a list of underperforming servers, or indicate if all meet the threshold.
Løsning
Tak for dine kommentarer!
single