metrics: improved time range and period values.