Add metrics recording
Stats tracking of requests