3. Orchestration (Infrastructure Scaling) : 3.1 Scaling Localization : 3.1.3 Intelligent Scaling : 3.1.3.2. Determine KPI Violation Cause
   
3.1.3.2. Determine KPI Violation Cause
To determine the KPI violation root cause and whether nor not we need to scale our service, analyze the infrastructure and application metrics. This can be done using techniques such as:
*Trend analysis.
*Historical or baseline comparison.
*Pattern matching.
The analysis should result in one of two outcomes. The violation is performance- or capacity-related, or it is related to a problem with the service. In the case of a problem with the service, an alert is issued, and there should be no further action on the part of the scaling tasks.
If the analysis determines that the root cause is a bottleneck or overprovisioning, the next task is to localize the cause.