<?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: Extension 2.0 and process group detection in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/270694#M5970</link>
    <description>&lt;P&gt;Hello Janne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a solution to replace&amp;nbsp;&lt;EM&gt;find_single_process_group &lt;/EM&gt;in&amp;nbsp;2.0 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you already,&lt;/P&gt;&lt;P&gt;Arnaud&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2025 14:21:50 GMT</pubDate>
    <dc:creator>arnauddc</dc:creator>
    <dc:date>2025-02-21T14:21:50Z</dc:date>
    <item>
      <title>Extension 2.0 and process group detection</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/263228#M5572</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We are currently migrating our custom extension from 1.0 &amp;gt; 2.0 and we have a bit a challenge with some of the extension. So it seems that in version 1.0 there has been some custom python module made by Dynatrace which has had some automatic model how to fetch the process group ID automatically.&lt;BR /&gt;&lt;BR /&gt;I suppose that the functionality has come with these modules.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;from ruxit.api.exceptions import ConfigException&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from ruxit.api.base_plugin import BasePlugin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from ruxit.api.snapshot import command_line_regex&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from ruxit.api.snapshot import pgi_name&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from ruxit.api.selectors import ExplicitPgiSelector&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;And it has been used someway like on this example:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;pgi = self.find_single_process_group(self.check_technology("Varnish Cache"))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;pgi_id = pgi.group_instance_id&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Is there any similar premade functionality with extension 2.0 if we would like to attach the fetched metrics on some process itself?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 08:21:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/263228#M5572</guid>
      <dc:creator>janne_olkoniemi</dc:creator>
      <dc:date>2024-11-25T08:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extension 2.0 and process group detection</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/263389#M5579</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/23527"&gt;@janne_olkoniemi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer to the attached Dynatrace documentation resources for detailed level of info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/technology-support/dynatrace-extensions" target="_blank"&gt;https://docs.dynatrace.com/docs/ingest-from/technology-support/dynatrace-extensions&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extensions/python-migration" target="_blank"&gt;https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extensions/python-migration&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=g-lPIZx66BA" target="_blank"&gt;https://www.youtube.com/watch?v=g-lPIZx66BA&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;You have option to refer the current case with extension team for further assistance.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;BR,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 15:06:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/263389#M5579</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-11-22T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extension 2.0 and process group detection</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/270694#M5970</link>
      <description>&lt;P&gt;Hello Janne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a solution to replace&amp;nbsp;&lt;EM&gt;find_single_process_group &lt;/EM&gt;in&amp;nbsp;2.0 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you already,&lt;/P&gt;&lt;P&gt;Arnaud&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 14:21:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-and-process-group-detection/m-p/270694#M5970</guid>
      <dc:creator>arnauddc</dc:creator>
      <dc:date>2025-02-21T14:21:50Z</dc:date>
    </item>
  </channel>
</rss>

