Added metadata for how long the query took.