Add latency support to service.go