Jwang add resource measurements

`query` or `QUERY`?