Collecting traces using the Query Wizard