added interval to metric object for calculate correct value