Added timeseries to measure the latency.