<?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 Monitoring a Node.js web app running in GCP Cloud Run in Cloud platforms</title>
    <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178407#M1898</link>
    <description>&lt;P&gt;Hi, we're trying to setup OneAgent to monitor a Node.js web app that runs in GCP Cloud Run.&lt;/P&gt;
&lt;P&gt;From the documentation and Dynatrace support I understand that there is no out of the box solution (yet, hopefully ^^).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We found 2 methods to install OneAgent "in" the app :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 -&amp;nbsp;&lt;A href="https://www.npmjs.com/package/@dynatrace/oneagent" target="_blank" rel="noopener"&gt;https://www.npmjs.com/package/@dynatrace/oneagent&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2 -&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opent-nodejs" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/opent-nodejs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We already tried option 1 but the only thing we see in Dynatrace UI is that the token is used when the app is launched, nothing seems to be captured, not a single web request.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Can someone explain the difference between 1 and 2 &amp;nbsp;And tell if 2 has better chance to work?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 12:42:11 GMT</pubDate>
    <dc:creator>AymericM</dc:creator>
    <dc:date>2023-02-14T12:42:11Z</dc:date>
    <item>
      <title>Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178407#M1898</link>
      <description>&lt;P&gt;Hi, we're trying to setup OneAgent to monitor a Node.js web app that runs in GCP Cloud Run.&lt;/P&gt;
&lt;P&gt;From the documentation and Dynatrace support I understand that there is no out of the box solution (yet, hopefully ^^).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We found 2 methods to install OneAgent "in" the app :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 -&amp;nbsp;&lt;A href="https://www.npmjs.com/package/@dynatrace/oneagent" target="_blank" rel="noopener"&gt;https://www.npmjs.com/package/@dynatrace/oneagent&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2 -&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opent-nodejs" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/opent-nodejs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We already tried option 1 but the only thing we see in Dynatrace UI is that the token is used when the app is launched, nothing seems to be captured, not a single web request.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Can someone explain the difference between 1 and 2 &amp;nbsp;And tell if 2 has better chance to work?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 12:42:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178407#M1898</guid>
      <dc:creator>AymericM</dc:creator>
      <dc:date>2023-02-14T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178419#M1899</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried to use the SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-NodeJs" target="_blank"&gt;https://github.com/Dynatrace/OneAgent-SDK-for-NodeJs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 20:56:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178419#M1899</guid>
      <dc:creator>andreborges</dc:creator>
      <dc:date>2022-01-06T20:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178425#M1900</link>
      <description>&lt;P&gt;If I understand the documentation correctly, using the SDK means hardcoding any trace that we want to see in Dynatrace.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 09:43:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178425#M1900</guid>
      <dc:creator>AymericM</dc:creator>
      <dc:date>2022-01-07T09:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178487#M1901</link>
      <description>&lt;P&gt;Yes, that's correct. It's similar to option 2 - manual instrumentation. For sure, manual instrumentation will work but you have extra work to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would give option 2 - automatic instrumentation, a try. Otherwise, you will have to hardcode every trace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 18:26:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178487#M1901</guid>
      <dc:creator>andreborges</dc:creator>
      <dc:date>2022-01-10T18:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178620#M1902</link>
      <description>&lt;P&gt;The automatic instrumentation is "With OneAgent" does that mean that I need a OneAgent running in Cloud Run at the same time ?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 09:48:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/178620#M1902</guid>
      <dc:creator>AymericM</dc:creator>
      <dc:date>2022-01-13T09:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/278658#M2035</link>
      <description>&lt;P&gt;We ended up doing exactly what is described in the documentation :&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/google-cloud-platform/gcp-integrations/cloudrun" target="_blank" rel="noopener"&gt;GCP Integration deploy OneAgent in the cloudrun container image&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:24:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/278658#M2035</guid>
      <dc:creator>Aymeric_M</dc:creator>
      <dc:date>2025-06-04T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279160#M2048</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65101"&gt;@Aymeric_M&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/46944"&gt;@AymericM&lt;/a&gt;&amp;nbsp;- Was there something specific from the linked docs that did the trick for you?&lt;BR /&gt;We are also trying to follow that documentation to integrate Dynatrace OneAgent into Cloud Run.&lt;BR /&gt;We are encountering the following error though:&lt;BR /&gt;ERROR: ld.so: object '/opt/dynatrace/oneagent/nonprod/agent/lib64/liboneagentproc.so&lt;BR /&gt;2025-06-10T18:15:14.153350Z' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 17:27:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279160#M2048</guid>
      <dc:creator>ECarlson</dc:creator>
      <dc:date>2025-06-11T17:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279226#M2049</link>
      <description>&lt;P&gt;I don't remember if we had this issue, but maybe this can help :&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Container-platforms/Docker-ERROR-ld-so-LD-PRELOAD-cannot-be-preloaded/m-p/215748" target="_blank"&gt;https://community.dynatrace.com/t5/Container-platforms/Docker-ERROR-ld-so-LD-PRELOAD-cannot-be-preloaded/m-p/215748&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 08:25:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279226#M2049</guid>
      <dc:creator>Aymeric_M</dc:creator>
      <dc:date>2025-06-12T08:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring a Node.js web app running in GCP Cloud Run</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279675#M2051</link>
      <description>&lt;P&gt;In case anyone else runs into the scenario we encountered the following is what resolved the issue for us.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Error&lt;/STRONG&gt;&lt;BR /&gt;ERROR: ld.so: object '/opt/dynatrace/oneagent/nonprod/agent/lib64/liboneagentproc.so&lt;BR /&gt;2025-06-10T18:15:14.153350Z' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our application was using Cloud Run execution env V2 which has a CPU architecture type of x86.&lt;/P&gt;&lt;P&gt;Specifying the arch type when retrieving the Dynatrace OneAgent resolved the issue.&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$DT_ENV_FQDN&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/deployment/installer/agent/unix/paas/latest?&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;flavor=default&amp;amp;include=java&amp;amp;&lt;U&gt;&lt;STRONG&gt;arch=x86&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/U&gt;cc:&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65101"&gt;@Aymeric_M&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 21:22:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Monitoring-a-Node-js-web-app-running-in-GCP-Cloud-Run/m-p/279675#M2051</guid>
      <dc:creator>ECarlson</dc:creator>
      <dc:date>2025-06-17T21:22:52Z</dc:date>
    </item>
  </channel>
</rss>

