<?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: npx instrumentDynatrace in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294566#M7243</link>
    <description>&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;Thanks for coming back to me, but I am not sure how setting the plist would resolve this issue? The command doesn't have a problem with that but the app.json, which I can see is a hardcoded value in the sourcecode, and cannot be overridden by args.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2026 06:32:41 GMT</pubDate>
    <dc:creator>chrism-hbf</dc:creator>
    <dc:date>2026-02-11T06:32:41Z</dc:date>
    <item>
      <title>npx instrumentDynatrace</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294491#M7238</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;We have an app built with expo.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Instead of the default app.json, we&lt;/SPAN&gt;&lt;SPAN&gt;'re using app.config.ts.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;When running the instrumentDynatrace command, Android instrumentation succeeds, but iOS fails with the error below:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":hourglass_not_done:"&gt;⏳&lt;/span&gt; Starting instrumentation of React Native application ..&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":information:"&gt;ℹ️&lt;/span&gt; Dynatrace React Native Plugin - Version 2.327.2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":hourglass_not_done:"&gt;⏳&lt;/span&gt; Trying to read configuration file: expo-app/dynatrace.config.js&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":hourglass_not_done:"&gt;⏳&lt;/span&gt; Starting Android Instrumentation with Dynatrace!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":information:"&gt;ℹ️&lt;/span&gt; Dynatrace plugin &amp;amp; agent already added to build.gradle&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":information:"&gt;ℹ️&lt;/span&gt; Replaced old configuration with current configuration in dynatrace.gradle&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":information:"&gt;ℹ️&lt;/span&gt; Runtime script already present in expo-app/android/app/build.gradle&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Finished Android Instrumentation with Dynatrace!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":hourglass_not_done:"&gt;⏳&lt;/span&gt; Starting iOS Instrumentation with Dynatrace!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#ERROR [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; iOS Instrumentation failed: ENOENT: no such file or directory, open '&lt;/SPAN&gt;&lt;SPAN&gt;expo-app/app.json&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":hourglass_not_done:"&gt;⏳&lt;/span&gt; Patching SourceMap generation of Metro ..&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":information:"&gt;ℹ️&lt;/span&gt; Patching of SourceMap already happened!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#INFO [2026-02-10 13:31:34]: &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt; Finished instrumentation of React Native application ..&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;From what I can see, the script supports Gradle, plist, and Dynatrace config inputs, but there'&lt;/SPAN&gt;&lt;SPAN&gt;s no option to specify a custom Expo app config path. It appears to assume app.json always exists.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;As a workaround, I&lt;/SPAN&gt;&lt;SPAN&gt;'ve written a custom Expo plugin to manually instrument the iOS side.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Is support for app.config.ts planned, or is there a supported way to point the instrumentation script at a non-default Expo config that I'&lt;/SPAN&gt;&lt;SPAN&gt;ve missed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Feb 2026 08:51:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294491#M7238</guid>
      <dc:creator>chrism-hbf</dc:creator>
      <dc:date>2026-02-10T08:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: npx instrumentDynatrace</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294498#M7239</link>
      <description>&lt;P&gt;Thanks for reporting this. I saw this already once in the past, which will increase prioritization for us. For now you can work around this by using custom arguments regarding plist file:&amp;nbsp;&lt;A href="https://www.npmjs.com/package/@dynatrace/react-native-plugin#customizing-paths-for-configuration" target="_blank"&gt;https://www.npmjs.com/package/@dynatrace/react-native-plugin#customizing-paths-for-configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 09:00:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294498#M7239</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2026-02-10T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: npx instrumentDynatrace</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294566#M7243</link>
      <description>&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;Thanks for coming back to me, but I am not sure how setting the plist would resolve this issue? The command doesn't have a problem with that but the app.json, which I can see is a hardcoded value in the sourcecode, and cannot be overridden by args.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 06:32:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294566#M7243</guid>
      <dc:creator>chrism-hbf</dc:creator>
      <dc:date>2026-02-11T06:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: npx instrumentDynatrace</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294572#M7244</link>
      <description>&lt;P&gt;Please try and tell us if the error is gone. app.json file is used during plist finding. If you provide your own path we skip utilizing it. As said in the other response, we will try to find an alternative way to get rid in general of this issue for you.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 07:41:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294572#M7244</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2026-02-11T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: npx instrumentDynatrace</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294702#M7250</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/2925"&gt;@matthias_hochri&lt;/a&gt;&amp;nbsp;, that was the fix. I should have tried that before coming back.&lt;/P&gt;&lt;P&gt;Appreciate your help on this.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 05:17:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/npx-instrumentDynatrace/m-p/294702#M7250</guid>
      <dc:creator>chrism-hbf</dc:creator>
      <dc:date>2026-02-13T05:17:29Z</dc:date>
    </item>
  </channel>
</rss>

