@tornado.gen.coroutine<EOL><INDENT>def executeMetricsQuery(self, tmaster, queryString, start_time, end_time, callback=None):<DEDENT>
query = Query(self.tracker)<EOL>metrics = yield query.execute_query(tmaster, queryString, start_time, end_time)<EOL>ret = {}<EOL>ret["<STR_LIT>"] = start_time<EOL>ret["<STR_LIT>"] = end_time<EOL>ret["<STR_LIT>"] = []<EOL>for metric in metrics:<EOL><INDENT>tl = {<EOL>"<STR_LIT:data>": metric.timeline<EOL>}<EOL>if metric.instance:<EOL><INDENT>tl["<STR_LIT>"] = metric.instance<EOL><DEDENT>ret["<STR_LIT>"].append(tl)<EOL><DEDENT>raise tornado.gen.Return(ret)<EOL>
Get the specified metrics for the given query in this topology.
Returns the following dict on success:
{
  "timeline": [{
    "instance": <instance>,
    "data": {
      <start_time> : <numeric value>,
      <start_time> : <numeric value>,
      ...
    }
  }, {
    ...
  }, ...
  "starttime": <numeric value>,
  "endtime": <numeric value>,
},

Returns the following dict on failure:
{
  "message": "..."
}