Add configurable thresholds