<?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 Dynatrace Metrics V2 API - Help with Deprecated Call in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metrics-V2-API-Help-with-Deprecated-Call/m-p/167049#M1556</link>
    <description>&lt;P&gt;I am using the V2 metrics API to retrieve common system metrics, in this case swap availability and usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;type(HOST),tag(MyApplication:MyTag)&lt;/P&gt;
&lt;P&gt;builtin:host.mem.swap.(used,avail):names:merge(1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the common ""dt.entity.host.name" name and not the cryptic one. It works fine, but if I peek in the warnings, I see this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;warnings": [&lt;BR /&gt;"Usage of index \"1\" is deprecated, please consider converting the query to use the dimension key \"dt.entity.host\" instead"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I change my metrics selector to the newer format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lou&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 10:04:43 GMT</pubDate>
    <dc:creator>louis_gallo</dc:creator>
    <dc:date>2022-10-03T10:04:43Z</dc:date>
    <item>
      <title>Dynatrace Metrics V2 API - Help with Deprecated Call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metrics-V2-API-Help-with-Deprecated-Call/m-p/167049#M1556</link>
      <description>&lt;P&gt;I am using the V2 metrics API to retrieve common system metrics, in this case swap availability and usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;type(HOST),tag(MyApplication:MyTag)&lt;/P&gt;
&lt;P&gt;builtin:host.mem.swap.(used,avail):names:merge(1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the common ""dt.entity.host.name" name and not the cryptic one. It works fine, but if I peek in the warnings, I see this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;warnings": [&lt;BR /&gt;"Usage of index \"1\" is deprecated, please consider converting the query to use the dimension key \"dt.entity.host\" instead"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I change my metrics selector to the newer format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 10:04:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metrics-V2-API-Help-with-Deprecated-Call/m-p/167049#M1556</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-10-03T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Metrics V2 API - Help with Deprecated Call</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metrics-V2-API-Help-with-Deprecated-Call/m-p/167050#M1557</link>
      <description>&lt;P&gt;Wait, I think I see it. It is as easy as this? I guess I really should have read the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;builtin:host.cpu.usage:names:merge(dt.entity.host)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 13:02:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Dynatrace-Metrics-V2-API-Help-with-Deprecated-Call/m-p/167050#M1557</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2021-06-02T13:02:04Z</dc:date>
    </item>
  </channel>
</rss>

