<?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>article AWS integrations: Troubleshoot OneAgent integration into your application image in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/AWS-integrations-Troubleshoot-OneAgent-integration-into-your/ta-p/230410</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG&gt;PROBLEM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;When you integrate OneAgent into your&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-fargate#integrate-oneagent-into-your-application-image" target="_self"&gt;AWS Fargate&lt;/A&gt; or &lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-apprunner#integrate-oneagent-into-your-application-image" target="_self"&gt;AWS App Runner&lt;/A&gt;&amp;nbsp;application image, you encounter issues you want to investigate further.&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG&gt;SOLUTION&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;You can use the&amp;nbsp;&lt;A class="sc-eNSrOW jIVdPj sc-68987768-0 eSCioX" title="Learn how to install, configure, update, and uninstall OneAgent in containerized applications on Linux." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/microsoft-azure-services/azure-integrations/azure-appservice/integrate-oneagent-on-web-app-for-containers#troublevariable" target="_blank" rel="noopener" data-testid="link"&gt;troubleshooting variable&lt;/A&gt; &lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;&amp;nbsp;with the value&amp;nbsp;&lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;INFO&lt;/CODE&gt;&amp;nbsp;to see OneAgent logs in the CloudWatch logs. To use&amp;nbsp;&lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;, do one of the following, depending on the integration and injection type.&lt;/P&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL&gt;
&lt;LI class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#autoinjection" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate automatic injection&lt;/A&gt;&lt;BR /&gt;Make sure the &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt; environmental variable is defined and set to &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;INFO&lt;/CODE&gt; on the container where OneAgent runs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL class="sc-gFqAkR iImZDA"&gt;
&lt;LI class="sc-ikkxIA cKpUwy"&gt;
&lt;P class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#buildtime" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate build-time injection&lt;/A&gt; or &lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-apprunner#buildtime" target="_self"&gt;AWS App Runner build-time injection&lt;/A&gt;&lt;BR /&gt;Enter an additional line of code to the application image as in the example below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;COPY --from=&amp;lt;your-environment-url&amp;gt;/linux/oneagent-codemodules:&amp;lt;technology&amp;gt; / /
ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so
ENV DT_LOGLEVELCON INFO​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI class="sc-ikkxIA cKpUwy"&gt;
&lt;P class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#runtime" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate runtime injection&lt;/A&gt;&lt;BR /&gt;Go to&amp;nbsp;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Environment&lt;/STRONG&gt;&lt;SPAN class="sc-bf977b27-0 hNpJEd"&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Environment variable &lt;/STRONG&gt;and define &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;with the value &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;INFO&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 05 Dec 2023 11:30:00 GMT</pubDate>
    <dc:creator>virgi-df</dc:creator>
    <dc:date>2023-12-05T11:30:00Z</dc:date>
    <item>
      <title>AWS integrations: Troubleshoot OneAgent integration into your application image</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/AWS-integrations-Troubleshoot-OneAgent-integration-into-your/ta-p/230410</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG&gt;PROBLEM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;When you integrate OneAgent into your&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-fargate#integrate-oneagent-into-your-application-image" target="_self"&gt;AWS Fargate&lt;/A&gt; or &lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-apprunner#integrate-oneagent-into-your-application-image" target="_self"&gt;AWS App Runner&lt;/A&gt;&amp;nbsp;application image, you encounter issues you want to investigate further.&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG&gt;SOLUTION&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sc-dycYrt jwzYdG sc-kFWlue hldrCK sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;You can use the&amp;nbsp;&lt;A class="sc-eNSrOW jIVdPj sc-68987768-0 eSCioX" title="Learn how to install, configure, update, and uninstall OneAgent in containerized applications on Linux." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/microsoft-azure-services/azure-integrations/azure-appservice/integrate-oneagent-on-web-app-for-containers#troublevariable" target="_blank" rel="noopener" data-testid="link"&gt;troubleshooting variable&lt;/A&gt; &lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;&amp;nbsp;with the value&amp;nbsp;&lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;INFO&lt;/CODE&gt;&amp;nbsp;to see OneAgent logs in the CloudWatch logs. To use&amp;nbsp;&lt;CODE class="sc-dycYrt ipJFFH sc-hTUWRQ hmrjSf" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;, do one of the following, depending on the integration and injection type.&lt;/P&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL&gt;
&lt;LI class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#autoinjection" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate automatic injection&lt;/A&gt;&lt;BR /&gt;Make sure the &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt; environmental variable is defined and set to &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;INFO&lt;/CODE&gt; on the container where OneAgent runs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL class="sc-gFqAkR iImZDA"&gt;
&lt;LI class="sc-ikkxIA cKpUwy"&gt;
&lt;P class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#buildtime" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate build-time injection&lt;/A&gt; or &lt;A href="https://docs.dynatrace.com/docs/shortlink/aws-apprunner#buildtime" target="_self"&gt;AWS App Runner build-time injection&lt;/A&gt;&lt;BR /&gt;Enter an additional line of code to the application image as in the example below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;COPY --from=&amp;lt;your-environment-url&amp;gt;/linux/oneagent-codemodules:&amp;lt;technology&amp;gt; / /
ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so
ENV DT_LOGLEVELCON INFO​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI class="sc-ikkxIA cKpUwy"&gt;
&lt;P class="sc-cwHptR exAGXd sc-dAbbOL erszSe sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;A class="sc-fPXMVe cnqxJJ sc-68987768-0 eSCioX" title="Install OneAgent on AWS Fargate." href="https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/amazon-web-services/amazon-web-services-integrations/aws-fargate#runtime" target="_blank" rel="noopener" data-testid="link"&gt;AWS Fargate runtime injection&lt;/A&gt;&lt;BR /&gt;Go to&amp;nbsp;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Environment&lt;/STRONG&gt;&lt;SPAN class="sc-bf977b27-0 hNpJEd"&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Environment variable &lt;/STRONG&gt;and define &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;DT_LOGLEVELCON&lt;/CODE&gt;with the value &lt;CODE class="sc-cwHptR dSjKiw sc-jEACwC bbjJsP" data-testid="code"&gt;INFO&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:30:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/AWS-integrations-Troubleshoot-OneAgent-integration-into-your/ta-p/230410</guid>
      <dc:creator>virgi-df</dc:creator>
      <dc:date>2023-12-05T11:30:00Z</dc:date>
    </item>
  </channel>
</rss>

