Validate metrics log frequency before scheduling (#4232)