add queue duration metric