Add support for query latency for SQL command
Merge branch 'ENG-6566-sqlcommand-latency' into performance-aws-xin