<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Number of data points exceeded the limit of 20000000 in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174870#M1446</link>
    <description>&lt;P&gt;You have 1 datapoint &lt;STRONG&gt;per host per disk per minute&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Let's say you are looking at 2 weeks of data&lt;BR /&gt;&lt;BR /&gt;And assuming you have 100 hosts, every host has 3 disks&lt;BR /&gt;&lt;BR /&gt;100 hosts * 3 disks * 60 datapoints/hour * 336 hours/week = 6,048,000 datapoints&lt;BR /&gt;&lt;BR /&gt;As you can see you can quickly get millions of datapoints, the error means that the limit has been reached, whatever response you got won't include the millions of datapoints.&lt;BR /&gt;&lt;BR /&gt;My suggestion: have your script make one request per host (or a couple of hosts) at a time, or use Inf resolution depending on your use case&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 12:44:24 GMT</pubDate>
    <dc:creator>david_lopes</dc:creator>
    <dc:date>2021-10-27T12:44:24Z</dc:date>
    <item>
      <title>Number of data points exceeded the limit of 20000000</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174081#M1433</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to extract some api/v2 metrics via the API , I also apply filtering by tags,osType and mzName to reduce output however I am still&amp;nbsp;getting the following message:&lt;/P&gt;
&lt;P&gt;"Number of data points exceeded the limit of 20000000" -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The .csv that is returned contains only 881 rows of data - see sample of a single row below&lt;/P&gt;
&lt;P&gt;"builtin:host.disk.usedPct:names,Host001,HOST-FE7A6A123B192776,D:\,DISK-1E2CC761ED90F1C,2021-10-01 00:00:00,54.4775917176209"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is it possible to get to 20m data points with only 881 rows and with 7 columns of data ? It just seems impossible to get to 20m data points&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am on version&amp;nbsp; 1.226.116.20211006-102024&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be keen to understand how the data points are calculated based on the sample above&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas,workarounds or suggestions welcome&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apprecaite the help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 09:08:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174081#M1433</guid>
      <dc:creator>AlanFoley</dc:creator>
      <dc:date>2021-10-15T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Number of data points exceeded the limit of 20000000</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174870#M1446</link>
      <description>&lt;P&gt;You have 1 datapoint &lt;STRONG&gt;per host per disk per minute&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Let's say you are looking at 2 weeks of data&lt;BR /&gt;&lt;BR /&gt;And assuming you have 100 hosts, every host has 3 disks&lt;BR /&gt;&lt;BR /&gt;100 hosts * 3 disks * 60 datapoints/hour * 336 hours/week = 6,048,000 datapoints&lt;BR /&gt;&lt;BR /&gt;As you can see you can quickly get millions of datapoints, the error means that the limit has been reached, whatever response you got won't include the millions of datapoints.&lt;BR /&gt;&lt;BR /&gt;My suggestion: have your script make one request per host (or a couple of hosts) at a time, or use Inf resolution depending on your use case&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 12:44:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174870#M1446</guid>
      <dc:creator>david_lopes</dc:creator>
      <dc:date>2021-10-27T12:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Number of data points exceeded the limit of 20000000</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174874#M1447</link>
      <description>&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;Appreciate the detailed response - I have set my collections for every 4 hours and for those metrics which are a fit I set resolution-Inf - This way I have been able to avoid the data limits and have useful data&lt;/P&gt;&lt;P&gt;Thanks a mil&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 12:57:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Number-of-data-points-exceeded-the-limit-of-20000000/m-p/174874#M1447</guid>
      <dc:creator>AlanFoley</dc:creator>
      <dc:date>2021-10-27T12:57:32Z</dc:date>
    </item>
  </channel>
</rss>

