<?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: Dynatrace Metric API (API v2): how Dynatrace order target hosts in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125490#M1096</link>
    <description>Dt may use order from it’s database by default. This order for you is always the same, or it’s randomized somehow? &lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Jan 2020 10:10:56 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2020-01-14T10:10:56Z</dc:date>
    <item>
      <title>Dynatrace Metric API (API v2): how Dynatrace order target hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125489#M1095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a question about Dynatrace Metric API (API v2)&lt;/P&gt;&lt;P&gt;We are capturing builtin:host.cpu.user.&lt;/P&gt;&lt;P&gt;We wonder how Dynatrace order target hosts.&lt;/P&gt;&lt;P&gt;We use scope function, but the order is different from scope.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;scope=entity(Host1,Host2,Host3)&lt;/P&gt;&lt;P&gt;response: Host2 -&amp;gt; Host3 -&amp;gt; Host1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Natsumi Tanaka&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2019 01:22:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125489#M1095</guid>
      <dc:creator>ntanaka</dc:creator>
      <dc:date>2019-11-25T01:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Metric API (API v2): how Dynatrace order target hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125490#M1096</link>
      <description>Dt may use order from it’s database by default. This order for you is always the same, or it’s randomized somehow? &lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2020 10:10:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125490#M1096</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2020-01-14T10:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Metric API (API v2): how Dynatrace order target hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125491#M1097</link>
      <description>&lt;P&gt;Thank you for your response!&lt;BR /&gt;In our environment, hosts are sorted by IP address like this. &lt;/P&gt;&lt;TABLE style="width:100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle;height:18.75pt;width:205pt"&gt;HOST-7395C0805A33209F&lt;/TD&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle;width:151pt"&gt;172.16.74.51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle;height:18.75pt"&gt;HOST-E09873E2C4EB8658&lt;/TD&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle"&gt;172.16.74.85&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle;height:18.75pt"&gt;HOST-389551CF7323D34E&lt;/TD&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle"&gt;172.16.75.54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle;height:18.75pt"&gt;HOST-B25461C52627701A&lt;/TD&gt;&lt;TD style="color:black;font-size:15px;font-weight:400;font-style:normal;text-decoration:none;font-family:, monospace;vertical-align:middle"&gt;172.16.133.212&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I understood there is no guarantee as to the sorting order of these results.&lt;BR /&gt;I asked the same question via chat and got answer from the team.&lt;/P&gt;&lt;P&gt;"The short answer is there is no guarantee as to the sorting order of these results.&lt;BR /&gt; Conceptually, your scope expression filters a sorted list of hosts, and the resulting list is still sorted. The sorting order in which you get the results on a single page of metric query cannot be known for sure in advance. Some metric queries are split into sub-queries and these are carried out in parallel - so there's no way of knowing which sub-query will finish first.&lt;BR /&gt; It would be best not to rely on the order as this is an internal implementation of our underlying infrastructure and such things might change in the future."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jan 2020 01:04:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metric-API-API-v2-how-Dynatrace-order-target-hosts/m-p/125491#M1097</guid>
      <dc:creator>ntanaka</dc:creator>
      <dc:date>2020-01-15T01:04:11Z</dc:date>
    </item>
  </channel>
</rss>

