Adaptive Thresholding Heuristic for KPI Anomaly Detection