<?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: data collector on node.js in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730263#M7050</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/136557"&gt;@Adiaobong.Odungide&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Sorry for the late reply, this is what I heard back from the Docs team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The `key` is whatever you want to use to identify the custom data; the `value` is the data you want to capture and attach to the snapshot. The call to `txn.addSnapshotData()` can occur anywhere in your application where a transaction is in progress, either programmatically created via `appd.startTransaction(...)` or auto-discovered and retrieved via `appd.getTransaction(request)`. To add custom snapshot data to a transaction that's already being detected and reported, `getTransaction()` would be the required approach.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 20:59:25 GMT</pubDate>
    <dc:creator>iamryan</dc:creator>
    <dc:date>2023-10-25T20:59:25Z</dc:date>
    <item>
      <title>data collector on node.js</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730261#M7048</link>
      <description>&lt;P&gt;I am unable to create a data collector on my node.js application. I came across this doc "&amp;nbsp;For the Node.js agent, you can create a method data collector only using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;addSnapshotData()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Node.js API, not the Controller UI as described here. See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.appdynamics.com/appd/4.5.x/en/application-monitoring/install-app-server-agents/node-js-agent/node-js-agent-api-reference" target="_blank" rel="noopener nofollow noreferrer"&gt;Node.js Agent API Reference&lt;/A&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 questions;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;how do I determine the value and key to use&lt;/LI&gt;&lt;LI&gt;where do I add&amp;nbsp;addSnapshotData()&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730261#M7048</guid>
      <dc:creator>oadiaobong</dc:creator>
      <dc:date>2023-09-15T12:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: data collector on node.js</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730262#M7049</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/136557"&gt;@Adiaobong.Odungide&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I've reached out to the Docs team looking for some clarification. I will report back when I have more info.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 17:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730262#M7049</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2023-09-19T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: data collector on node.js</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730263#M7050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/136557"&gt;@Adiaobong.Odungide&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Sorry for the late reply, this is what I heard back from the Docs team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The `key` is whatever you want to use to identify the custom data; the `value` is the data you want to capture and attach to the snapshot. The call to `txn.addSnapshotData()` can occur anywhere in your application where a transaction is in progress, either programmatically created via `appd.startTransaction(...)` or auto-discovered and retrieved via `appd.getTransaction(request)`. To add custom snapshot data to a transaction that's already being detected and reported, `getTransaction()` would be the required approach.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 20:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/data-collector-on-node-js/m-p/730263#M7050</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2023-10-25T20:59:25Z</dc:date>
    </item>
  </channel>
</rss>

