add query priorities to metric emission