1. A method for managing a computer system, comprising: monitoring first violations of a service level objective (SLO) of a service running on the computer system so as to determine a first statistical behavior of the first violations; monitoring second violations of a component performance threshold of a component of the computer system so as to determine a second statistical behavior of the second violations; producing a model that predicts the second statistical behavior based on the first statistical behavior; and automatically adjusting the component performance threshold responsively to the model, so as to improve a prediction of the first violations by the second violations.