[UPDATE] metric and tsuid queries. WIP.