<?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: Next.js support? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729606#M6749</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/77669"&gt;@Michael.Lee&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I see you created a support ticket for this question. Can you share your learnings with&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/131365"&gt;@Kiryl.Kaliada&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 16:23:55 GMT</pubDate>
    <dc:creator>iamryan</dc:creator>
    <dc:date>2022-06-28T16:23:55Z</dc:date>
    <item>
      <title>Next.js support?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729603#M6746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Has anyone tried using the node.js agent to see if it will work with detecting the Next.js framework?&lt;/P&gt;

&lt;P&gt;Next.js is an open-source web development framework built on top of Node.js, so don't know if it will at least partially work.&lt;span class="lia-unicode-emoji" title=":monkey_face:"&gt;🐵&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 03:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729603#M6746</guid>
      <dc:creator>PsychicMushroom</dc:creator>
      <dc:date>2022-06-07T03:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js support?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729604#M6747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/77669"&gt;@Michael.Lee&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I didn't see any mention of this within the Community. I did some find Support tickets on this topic. I would recommend reaching out to your AppD rep to see what they can find out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 23:20:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729604#M6747</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-06-08T23:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js support?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729605#M6748</link>
      <description>&lt;P&gt;Hi. Any update on that?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 14:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729605#M6748</guid>
      <dc:creator>Kiryl_Kaliada</dc:creator>
      <dc:date>2022-06-24T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js support?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729606#M6749</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/77669"&gt;@Michael.Lee&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I see you created a support ticket for this question. Can you share your learnings with&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/131365"&gt;@Kiryl.Kaliada&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729606#M6749</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-06-28T16:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js support?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729607#M6750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/131365"&gt;@Kiryl.Kaliada&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Here is what was shared via Support&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, Next.js application can be instrumented with Node.js Agent, but only if the runtime is Node.js, meaning application having node.js backend. Single page applications or frontend applications not running on Node.js cannot be instrumented with Node.js agent.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Next steps&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Steps to instrument&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using below steps appdynamics will be installed outside application folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Create appd directory outside application&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mkdir /opt/appdynamics&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Create package.json in /opt/appdynamics&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;npm init -y&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Install appd in /opt/appdynamics&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;npm install appdynamics@latest&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Create shim.js in /opt with the code below&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE&gt;require("appdynamics").profile({&lt;BR /&gt;  debug: true,&lt;BR /&gt;  controllerHostName: '&amp;lt;controller-host-name&amp;gt;',&lt;BR /&gt;  controllerPort: 443,&lt;BR /&gt;  controllerSslEnabled: true,  // Set to true if controllerPort is SSL&lt;BR /&gt;  accountName: 'xyz',&lt;BR /&gt;  accountAccessKey: 'xyz', //required&lt;BR /&gt;  applicationName: '323460-axios-nextjs',&lt;BR /&gt;  tierName: 't1',&lt;BR /&gt;  nodeName: 'n1',&lt;BR /&gt;  logging: {&lt;BR /&gt;    'logfiles': [&lt;BR /&gt;      {&lt;BR /&gt;        'root_directory': '/tmp/appd',&lt;BR /&gt;        'filename': 'echo_%N.log',&lt;BR /&gt;        'level': 'TRACE',&lt;BR /&gt;        'max_size': 5242880,&lt;BR /&gt;        'max_files': 10&lt;BR /&gt;      }&lt;BR /&gt;    ]&lt;BR /&gt;  }&lt;BR /&gt;});&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Create appd specific ENV variable which includes app, tier, node, controller host, etc. or can hardcode mandatory parameters in shim.js file itself&lt;/LI&gt;
&lt;LI&gt;Create NODE_OPTIONS env variable.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;export NODE_OPTIONS '--require "/opt/appdynamics/shim.js"'&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Start the server and the agent will be pre-loaded with the help of env var NODE_OPTIONS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Hope that helps&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 17:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Next-js-support/m-p/729607#M6750</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-06-30T17:27:05Z</dc:date>
    </item>
  </channel>
</rss>

