<?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: Add OneAgent to azure Linux web app Service running code directly from a ZIP package in Cloud platforms</title>
    <link>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250050#M1693</link>
    <description>&lt;P&gt;Hi Yosi,&lt;/P&gt;&lt;P&gt;Maybe you could try setting LD_PRELOAD as an environment variable in the App Service level with the value of&amp;nbsp;&lt;STRONG&gt;/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so&lt;/STRONG&gt;. This is where the installer places the library to be loaded. Then, in the custom startup script add a command to restart the node.js server and see if the OA gets picked up.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 08:29:06 GMT</pubDate>
    <dc:creator>g_kat</dc:creator>
    <dc:date>2024-07-08T08:29:06Z</dc:date>
    <item>
      <title>Add OneAgent to Azure Linux web app Service running code directly from a ZIP package</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250027#M1692</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;Prospect deploy their node.js&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/app-service/deploy-run-package" target="_blank" rel="noopener"&gt;code from zip package&lt;/A&gt;&amp;nbsp;on Linux web app.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no startup command (pm2....) that we can hook on the OA download and set the LD_PRELOAD (&lt;A href="https://docs.dynatrace.com/docs/shortlink/web-app-containers#integrate-dynatrace-using-a-startup-scriptcommand" target="_blank" rel="noopener"&gt;link&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;We see in the web app log that its use docker run to start the application but there is no deploy command that we can add the OneAgent (&lt;A href="https://docs.dynatrace.com/docs/shortlink/web-app-containers#layer" target="_blank" rel="noopener"&gt;link&lt;/A&gt;) with.&lt;/P&gt;
&lt;P&gt;Any suggestion how to add OA in this case&lt;/P&gt;
&lt;P&gt;Thanks for any input&lt;/P&gt;
&lt;P&gt;Yos&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:12:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250027#M1692</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-08-08T11:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add OneAgent to azure Linux web app Service running code directly from a ZIP package</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250050#M1693</link>
      <description>&lt;P&gt;Hi Yosi,&lt;/P&gt;&lt;P&gt;Maybe you could try setting LD_PRELOAD as an environment variable in the App Service level with the value of&amp;nbsp;&lt;STRONG&gt;/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so&lt;/STRONG&gt;. This is where the installer places the library to be loaded. Then, in the custom startup script add a command to restart the node.js server and see if the OA gets picked up.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 08:29:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250050#M1693</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2024-07-08T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add OneAgent to azure Linux web app Service running code directly from a ZIP package</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250116#M1694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/34133"&gt;@g_kat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried that with no success&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions ?&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&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;</description>
      <pubDate>Mon, 08 Jul 2024 18:27:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250116#M1694</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-07-08T18:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add OneAgent to azure Linux web app Service running code directly from a ZIP package</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250153#M1695</link>
      <description>&lt;P&gt;Hi Yosi,&lt;/P&gt;&lt;P&gt;I don't have any other ideas besides that.&lt;/P&gt;&lt;P&gt;I guess you can SSH into the App and check whether the wrapper is downloaded correctly, this will confirm that the startup script works at least, since I have found the App logs insufficient at best.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:53:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Add-OneAgent-to-Azure-Linux-web-app-Service-running-code/m-p/250153#M1695</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2024-07-09T09:53:14Z</dc:date>
    </item>
  </channel>
</rss>

