<?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: Migrate Python extension in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Migrate-Python-extension/m-p/246164#M4474</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/22570"&gt;@Nils_Berninger&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Extension 2.0, Device and Group don't exist anymore. Now, you need to use topology rules to create custom entities:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extension-customize#custom-topology" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extension-customize#custom-topology&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extend-topology/custom-topology" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extend-topology/custom-topology&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I recommend building it via the GUI, then exporting it via API and adding it to your YAML file.&lt;/P&gt;&lt;P&gt;You can also extend the Built-In Host Page with your HANA Metrics:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extend-ui/extend-unified-analysis-pages" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extend-ui/extend-unified-analysis-pages&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 09:18:18 GMT</pubDate>
    <dc:creator>jegron</dc:creator>
    <dc:date>2024-05-21T09:18:18Z</dc:date>
    <item>
      <title>Migrate Python extension</title>
      <link>https://community.dynatrace.com/t5/Extensions/Migrate-Python-extension/m-p/246161#M4473</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I want to migrate a custom 1.0 Python extension to the new 2.0 framework. The extension is fetching some custom metrics from a SAP HANA DB. In the python script, I am creating devices and groups via &amp;nbsp;"&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;FONT face="inherit"&gt;.topology_builder". The names for the devices and groups is coming from the UI defined via the properties and configUI section in the plugin.json file. As per migration guide (&lt;A href="https://developer.dynatrace.com/extensions-v2/dynatrace-extensions-vscode/guides/migrate/python-migrate/#code-conversion-reference" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/extensions-v2/dynatrace-extensions-vscode/guides/migrate/python-migrate/#code-conversion-reference&lt;/A&gt;) the topology_builder method does not exist anymore in 2.0 and is replaced by extension.yaml.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;Does anyone know how I can create devices and groups based on user input in UI for 2.0 extension? I assume there are some sort of placeholders I can use in the extension.yaml.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 07:19:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Migrate-Python-extension/m-p/246161#M4473</guid>
      <dc:creator>Nils_Berninger</dc:creator>
      <dc:date>2024-05-24T07:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Python extension</title>
      <link>https://community.dynatrace.com/t5/Extensions/Migrate-Python-extension/m-p/246164#M4474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/22570"&gt;@Nils_Berninger&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Extension 2.0, Device and Group don't exist anymore. Now, you need to use topology rules to create custom entities:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extension-customize#custom-topology" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extension-customize#custom-topology&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extend-topology/custom-topology" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extend-topology/custom-topology&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I recommend building it via the GUI, then exporting it via API and adding it to your YAML file.&lt;/P&gt;&lt;P&gt;You can also extend the Built-In Host Page with your HANA Metrics:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extend-ui/extend-unified-analysis-pages" target="_blank"&gt;https://docs.dynatrace.com/docs/extend-dynatrace/extend-ui/extend-unified-analysis-pages&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 09:18:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Migrate-Python-extension/m-p/246164#M4474</guid>
      <dc:creator>jegron</dc:creator>
      <dc:date>2024-05-21T09:18:18Z</dc:date>
    </item>
  </channel>
</rss>

