Optimize generate report

Considering to fix the issue about when one of the export button can not click but export metric button can click, and change logic about polling api in backend. we have to optimize generate report flow.

the request body of generate report api is the same as as-is, but will add one parameter in the request body.

URI: POST /reports
Request payload:
{
   ...
   "metricTypes": [
        "string"
      ]
}