adds time-based metric handling feature