Added funktionality to specify thresholds for each value in a service