Useful queries for metric collection