Configurable relative time for metric lookup