<?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: Monitored Entities API - totalCount value change in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Monitored-Entities-API-totalCount-value-change/m-p/219737#M2614</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/59527"&gt;@StephenLHChan&lt;/a&gt;&amp;nbsp;I'm assuming that your to and from is set as a past time frame in which the data should be solidified correct? And not something as a future state or -2h to now.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 19:50:38 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2023-08-03T19:50:38Z</dc:date>
    <item>
      <title>Monitored Entities API - totalCount value change</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Monitored-Entities-API-totalCount-value-change/m-p/214751#M2548</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am now working on the Monitoring Entities API and would like to get the full list of Process Group Instances in my environment.&lt;/P&gt;&lt;P&gt;Endpoint:&amp;nbsp;&lt;SPAN&gt;/api/v2/entities&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Query parameters:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  'entitySelector': 'type("PROCESS_GROUP_INSTANCE")',
  'pageSize': 10000,
  'from': '1685640060000',
  'to': '1686417660000'
 }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Below is the response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  "totalCount": 396289,
  "pageSize": 10000,
  "nextPageKey": "some nextPageKey",
  "entities": [
    { some entities details here}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The response above should be a historical data of all monitored Process Group Instances. However, I found that the value of "totalCount" will change from time to time, even if I have set the "from" and "to".&lt;/P&gt;&lt;P&gt;I would like to know why and how I can get the most accurate data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 18:42:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Monitored-Entities-API-totalCount-value-change/m-p/214751#M2548</guid>
      <dc:creator>StephenLHChan</dc:creator>
      <dc:date>2023-06-12T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monitored Entities API - totalCount value change</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Monitored-Entities-API-totalCount-value-change/m-p/219737#M2614</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/59527"&gt;@StephenLHChan&lt;/a&gt;&amp;nbsp;I'm assuming that your to and from is set as a past time frame in which the data should be solidified correct? And not something as a future state or -2h to now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 19:50:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Monitored-Entities-API-totalCount-value-change/m-p/219737#M2614</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-08-03T19:50:38Z</dc:date>
    </item>
  </channel>
</rss>

