<?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: A way to get metrics from a specific process of a host in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282337#M37201</link>
    <description>&lt;P&gt;Sure, there is &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-get-datapoints" target="_blank"&gt;Metrics API&lt;/A&gt; for classic metrics where you can use metric selector (the same one used in Data Explorer). (Dynatrace Managed and Dynatrace SaaS platform)&lt;BR /&gt;For Grail Metrics (Dynatrace SaaS platform), you can use the &lt;A href="https://developer.dynatrace.com/plan/platform-services/grail-service/" target="_blank"&gt;Gral Query API&lt;/A&gt;&amp;nbsp;with DQL.&lt;BR /&gt;&lt;BR /&gt;Can you share some more details what you are trying to achieve?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 21:21:43 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-07-25T21:21:43Z</dc:date>
    <item>
      <title>A way to get metrics from a specific process of a host</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282335#M37200</link>
      <description>&lt;P&gt;Is there an efficient way to retrieve specific metrics (ie process usage and memory) from a process of a host (process group instance) with Dynatrace API? where the parameter would be the specific ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 07:32:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282335#M37200</guid>
      <dc:creator>tylerv</dc:creator>
      <dc:date>2025-07-29T07:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: A way to get metrics from a specific process of a host</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282337#M37201</link>
      <description>&lt;P&gt;Sure, there is &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-get-datapoints" target="_blank"&gt;Metrics API&lt;/A&gt; for classic metrics where you can use metric selector (the same one used in Data Explorer). (Dynatrace Managed and Dynatrace SaaS platform)&lt;BR /&gt;For Grail Metrics (Dynatrace SaaS platform), you can use the &lt;A href="https://developer.dynatrace.com/plan/platform-services/grail-service/" target="_blank"&gt;Gral Query API&lt;/A&gt;&amp;nbsp;with DQL.&lt;BR /&gt;&lt;BR /&gt;Can you share some more details what you are trying to achieve?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 21:21:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282337#M37201</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-07-25T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: A way to get metrics from a specific process of a host</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282423#M37202</link>
      <description>&lt;P&gt;hi Julius, sorry for the late response. I am looking for a way to get specific metrics from a process group instance (process memory and cpu usage in the picture) given a process group instance ID and a host ID. I m unsure how I should use the API to target a specific process group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tylerv_1-1753716735793.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29216iD6AFF830A3F477DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tylerv_1-1753716735793.png" alt="tylerv_1-1753716735793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 15:33:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282423#M37202</guid>
      <dc:creator>tylerv</dc:creator>
      <dc:date>2025-07-28T15:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: A way to get metrics from a specific process of a host</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282448#M37203</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/93339"&gt;@tylerv&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For any metric you see in dynatrace UI you can use the &lt;EM&gt;create metric event&lt;/EM&gt; from the ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a cpu metric example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1753766456519.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29221i30B946DC3B2C0FE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1753766456519.png" alt="Yosi_Neuman_0-1753766456519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the metric event look for the metric selector&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1753766514118.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29222i0814C5269DB37EBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1753766514118.png" alt="Yosi_Neuman_1-1753766514118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see it include with in the filter the process group instance id&lt;/P&gt;&lt;P&gt;Now just copy the metric selector and paste it in with in the metric/query api&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_2-1753766725276.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29223i64B9F470858BF0E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_2-1753766725276.png" alt="Yosi_Neuman_2-1753766725276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you are done&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_3-1753766792248.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29224i39DD78A92880FD29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_3-1753766792248.png" alt="Yosi_Neuman_3-1753766792248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 05:27:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282448#M37203</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2025-07-29T05:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: A way to get metrics from a specific process of a host</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282451#M37204</link>
      <description>&lt;P&gt;The Metric API has also a separate parameter for entity selector, so you might want to use that instead of adding :filter to your metric selector.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 06:44:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/A-way-to-get-metrics-from-a-specific-process-of-a-host/m-p/282451#M37204</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-07-29T06:44:10Z</dc:date>
    </item>
  </channel>
</rss>

