metric threshold working