<?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: Dockerfile x HostGroup in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175722#M18942</link>
    <description>&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Setting host group in this case is not possible because the Oneagent is running in the container and not in full-stack.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have a workaround that can help. You can use &lt;A href="https://www.dynatrace.com/support/help/shortlink/process-group-properties#variables" target="_self"&gt;DT_CUSTOM_PROP&lt;/A&gt;&amp;nbsp;environment variable to equal your host group. It will show on the processes, then you could use a auto tagging rule to propagate to the hosts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Abraham&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abraham_villega_0-1636646793955.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3336iCA92AD3C7CCDB5E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abraham_villega_0-1636646793955.png" alt="abraham_villega_0-1636646793955.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abraham_villega_1-1636646813825.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3337i14B4DF5D1807D4C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abraham_villega_1-1636646813825.png" alt="abraham_villega_1-1636646813825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 16:07:13 GMT</pubDate>
    <dc:creator>abraham_villega</dc:creator>
    <dc:date>2021-11-11T16:07:13Z</dc:date>
    <item>
      <title>Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175716#M18940</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have several fargate aws tasks in the environment. None of them have a host group configured. I'm trying to set --set-host-group inside my docker file, to make the deploy/run image with this information, but it's not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made some tests, passing the parameter inside of entrypoint and inside of command (Tasks definition), none of them worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spoke to chat and they told me it is not supported, or because I cannot set the host group of my AWS fargates tasks. Is correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, does not have any workaround for this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 07:36:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175716#M18940</guid>
      <dc:creator>RodrigoBiaggio</dc:creator>
      <dc:date>2023-08-16T07:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175722#M18942</link>
      <description>&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Setting host group in this case is not possible because the Oneagent is running in the container and not in full-stack.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have a workaround that can help. You can use &lt;A href="https://www.dynatrace.com/support/help/shortlink/process-group-properties#variables" target="_self"&gt;DT_CUSTOM_PROP&lt;/A&gt;&amp;nbsp;environment variable to equal your host group. It will show on the processes, then you could use a auto tagging rule to propagate to the hosts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Abraham&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abraham_villega_0-1636646793955.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3336iCA92AD3C7CCDB5E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abraham_villega_0-1636646793955.png" alt="abraham_villega_0-1636646793955.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abraham_villega_1-1636646813825.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/3337i14B4DF5D1807D4C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abraham_villega_1-1636646813825.png" alt="abraham_villega_1-1636646813825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:07:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175722#M18942</guid>
      <dc:creator>abraham_villega</dc:creator>
      <dc:date>2021-11-11T16:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175727#M18944</link>
      <description>&lt;P&gt;I agree with the solution provided by Abraham, had this issue in the past and the HOST_GROUP/--set-host-group flag was not supported on docker container&lt;BR /&gt;&lt;BR /&gt;Im pretty sure that was listed as one of the limitations in this list but I cannot see it anymore (I'm also talking with docs team to update it) &lt;A href="https://www.dynatrace.com/support/help/shortlink/oneagent-docker#limitations" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/oneagent-docker#limitations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The workaround I used was DT_TAGS and DT_CUSTOM_PROP environment variables&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:47:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175727#M18944</guid>
      <dc:creator>rodrigo_alvare1</dc:creator>
      <dc:date>2021-11-11T16:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175729#M18946</link>
      <description>&lt;P&gt;Hi guys, thanks for the reply.&lt;/P&gt;&lt;P&gt;Just one more doubt.&lt;/P&gt;&lt;P&gt;Should I pass this parameter as an ARG in my dockerfile, like:&lt;BR /&gt;ARG DT_CUSTOM_PROP = "Platform"&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:57:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175729#M18946</guid>
      <dc:creator>RodrigoBiaggio</dc:creator>
      <dc:date>2021-11-11T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175730#M18947</link>
      <description>&lt;P&gt;Cant remember if ENV or ARG (or if any of those will work), the syntax would be :&lt;/P&gt;&lt;P&gt;ENV DT_CUSTOM_PROP="myCustomProp"&lt;BR /&gt;ARG&amp;nbsp;DT_CUSTOM_PROP="myCustomProp"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;also you can pass it with key:value format:&lt;BR /&gt;&lt;SPAN&gt;DT_CUSTOM_PROP="App=springbootdemo"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;and multiple values&lt;BR /&gt;DT_CUSTOM_PROP="App=springbootdemo Environment=Dev"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 17:12:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/175730#M18947</guid>
      <dc:creator>rodrigo_alvare1</dc:creator>
      <dc:date>2021-11-11T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/206385#M25003</link>
      <description>&lt;P&gt;Thanks, this is a great solution, I updated the image for tags because change a little.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielS_0-1678124009923.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10344i1282C758CFE46613/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielS_0-1678124009923.png" alt="DanielS_0-1678124009923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also when you choose "Custom metadata" choose the one for Process Group not host.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:41:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/206385#M25003</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2023-03-06T17:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/220611#M28041</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;If you pass as ARG does that still work? I can't see how Dynatrace could detect the DT_CUSTOM_PROP values if ARG values are only available at runtime?&lt;/P&gt;&lt;P&gt;I was thinking it would be ENV DT_CUSTOM_PROP but my development team are unsure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 16:04:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/220611#M28041</guid>
      <dc:creator>Scott_McMahon</dc:creator>
      <dc:date>2023-08-14T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dockerfile x HostGroup</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/220614#M28042</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/59720"&gt;@Scott_McMahon&lt;/a&gt; please see this &lt;A href="https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-Step-by-Step-guide-to-set-much-the-same-as-Host-Groups/td-p/212531" target="_self"&gt;post&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 16:30:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Dockerfile-x-HostGroup/m-p/220614#M28042</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2023-08-14T16:30:32Z</dc:date>
    </item>
  </channel>
</rss>

