add task duration metrics