def manage_threshold(self, stat_name, trigger): """Manage the threshold for the current stat.""" glances_thresholds.add(stat_name, trigger)