GET metric data points API

Hi team, I have a small query on GET metric data points API, what is the limit that we can impose on retrieving the number of metrics by using the API GET metric data points.

As per doc:

The following limits apply:

  • The number of data points is limited to 20,000,000.
  • The number of tuples is limited to 100,000.
    If exceeded, only the first 100,000 tuples (a :sort transformation doesn’t affect these) are processed and the rest are ignored.
  • The number of data points per tuple is limited to 10,080.
  • The number of monitored entities is limited to 5,000 per each entitySelector in the query.

But if the idea is to impose some kind of limit on the result, you can work with the timeframe (from/to) and in the metric selector it self, using the limit field, as you do in Data Explorer. Data Explorer — Dynatrace Docs