Merge "Add metric for anomaly detection"