Added task queue length metrics