<?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: Finding the list of metrics applicable to an Entity via Dynatrace API v2 in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118422#M881</link>
    <description>&lt;P&gt;This is something I struggled with, too. IMO there is currently no straight forward method to achieve that. Might be a good candidate for an RFE.&lt;/P&gt;&lt;P&gt;As a workaround to retrieve all applicable metricId's for a certain entity type I guess one can query the full metric tree using&lt;/P&gt;&lt;P&gt;/api/v2/metrics?pageSize=5000&amp;amp;fields=entityType&lt;/P&gt;&lt;P&gt;and then filter/extract each returned MetricDescriptor object according to the values present in the entityType array.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 08:20:06 GMT</pubDate>
    <dc:creator>Enrico_F</dc:creator>
    <dc:date>2020-11-02T08:20:06Z</dc:date>
    <item>
      <title>Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118421#M880</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I am trying to find the list of metrics applicable to specific entity and entity type such as specific host, application, process, service. `/metrics` api gives list of all metric ids:&lt;/P&gt;&lt;PRE&gt;https://abc12345.live.dynatrace.com/api/v2/metrics?pageSize=2000&lt;/PRE&gt;&lt;P&gt;But How do I find only the applicable metrics only to an entity or entity types, to, say `PROCESS_GROUP_INSTANCE` or `PROCESS-ABCDEFGHIJ123456`.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 14:45:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118421#M880</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2020-11-01T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118422#M881</link>
      <description>&lt;P&gt;This is something I struggled with, too. IMO there is currently no straight forward method to achieve that. Might be a good candidate for an RFE.&lt;/P&gt;&lt;P&gt;As a workaround to retrieve all applicable metricId's for a certain entity type I guess one can query the full metric tree using&lt;/P&gt;&lt;P&gt;/api/v2/metrics?pageSize=5000&amp;amp;fields=entityType&lt;/P&gt;&lt;P&gt;and then filter/extract each returned MetricDescriptor object according to the values present in the entityType array.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:20:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118422#M881</guid>
      <dc:creator>Enrico_F</dc:creator>
      <dc:date>2020-11-02T08:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118423#M882</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/3956/view.html" nodeid="3956"&gt;@Enrico F.&lt;/A&gt; Great! I was able to extract the entity - metric. But I am not sure why I only see just 500 entries with `/api/v2/metrics?pageSize=5000&amp;amp;fields=entityType `.&lt;/P&gt;&lt;P&gt;However there are about 2000 metrics via &lt;/P&gt;&lt;PRE&gt;/api/v2/metrics&lt;/PRE&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 06:59:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118423#M882</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2020-11-03T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118424#M883</link>
      <description>&lt;P&gt;Strange. In my case I'm getting &amp;gt;2000 entries when testing this on our managed instance. Maybe there are some additional restrictions for SaaS tenants on top of the already imposed &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/api-access-limit#request-throttling" target="_blank"&gt;request throttling&lt;/A&gt; but that would be unexpected.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 07:40:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118424#M883</guid>
      <dc:creator>Enrico_F</dc:creator>
      <dc:date>2020-11-03T07:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118425#M884</link>
      <description>&lt;UL&gt;&lt;LI&gt;Environment API 50 requests per minute.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Looks like that could be the case. This works well with Explorer but not working with Python script. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 09:04:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118425#M884</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2020-11-03T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the list of metrics applicable to an Entity via Dynatrace API v2</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118426#M885</link>
      <description>&lt;P&gt;You are making just one API call hence 50 requests per minute limit doesn't count here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;I'm also able to get all metric list and the count is 2019 for me&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:41:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Finding-the-list-of-metrics-applicable-to-an-Entity-via/m-p/118426#M885</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2020-11-06T08:41:59Z</dc:date>
    </item>
  </channel>
</rss>

