Problem getting metrics from Dynatrace Managed

Hi,

Easier way to me is from Data Explorer:

  1. Select metrics you are interested. Those are built-in.
  2. Split both by service.
  3. Filter by management zone.
  4. Change to table visualization.
  5. Execute query.

Select “…” and “Copy request”:

You will have a way to export information in JSON or CSV, just input your token:

Notice it is filtered by “mzId”, you can filter also by “mzName” if you prefer.

This would be for one specific managment zone. If you need all of them:

  1. Make a previous call to management zones APIs to reach all of them.
  2. Make a loop to repeat similar GET request replacing mzIds.

Best regards