<?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: Why would data collector info not be included in snapshot's user data? in AppD Archive</title>
    <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735723#M5417</link>
    <description>&lt;P&gt;Hi Kris,&lt;/P&gt;

&lt;P&gt;Class/packages mentioned in &amp;lt;exclude &amp;gt; section will not be considered for async instrumentation and class/packages stated in &amp;lt;include&amp;gt; under &amp;lt;fork-config&amp;gt; element are considered for async instrumentation and regarding the job elemenet&lt;/P&gt;

&lt;P&gt;Say if your class is implementing Thread class or class listed in &amp;lt;job&amp;gt; element in &amp;lt;fork-config&amp;gt; it means they are shown as async exit calls in BT snapshot call graph but if you see that your class is not fallen under any of the &amp;lt;fork-config&amp;gt; -&amp;lt; &amp;lt;job&amp;gt; section in file &amp;lt;agent_install_dir&amp;gt;/conf/app-agent-config.xml&amp;nbsp; than you can add one addition &amp;lt;job&amp;gt; element to add support for async for your classes that implement different thread class:&lt;/P&gt;

&lt;P&gt;&amp;lt;job&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;match-class type="inherits-from-class"&amp;gt;&amp;lt;name filter-type="EQUALS" filter-value="java.lang.Thread"/&amp;gt;&amp;lt;/match-class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;match-method&amp;gt;&amp;lt;name filter-type="EQUALS" filter-value="run"/&amp;gt;&amp;lt;/match-method&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;name-config operation="" type="4"/&amp;gt;&lt;BR /&gt;&amp;lt;/job&amp;gt;&lt;/P&gt;

&lt;P&gt;Hope that clarifies. Also we see no other specific regarding the description on above elements. To better assist you we request you to provide agent logs folder archive version and screenshot from call graoh hightlight the api that you are referring to.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
    <pubDate>Sat, 25 Oct 2014 01:36:25 GMT</pubDate>
    <dc:creator>Arun_Dasetty</dc:creator>
    <dc:date>2014-10-25T01:36:25Z</dc:date>
    <item>
      <title>Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735718#M5412</link>
      <description>&lt;P&gt;I've refactored some Java code to expose&amp;nbsp;data that might otherwise be difficult for AppD to capture and to provide a convenient hook for a data collector. The method looks something like this:&lt;/P&gt;

&lt;PRE&gt;private static long duration(long startNanoTime) {
    return (System.nanoTime() - startNanoTime) / 1000;
}
&lt;/PRE&gt;

&lt;P&gt;The data collector is configured to use the method's return value. However, even though&amp;nbsp;I know that the method is being executed, the data collector isn't being displayed in the user data section of the snapshot. Does the method have to appear in the call graph for its return value to also appear in user data? Does a full stack have to be captured? It's obviously possible that this is just a configuration error that I've missed, and I'll keep checking, but I'd appreciate any insight into other possibilities - thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 04:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735718#M5412</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-23T04:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735719#M5413</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;To assist you further, please send the following logs:&lt;/P&gt;
&lt;P&gt;- screenshot from data collector config and BTs associated from UI?&lt;/P&gt;
&lt;P&gt;- screenshot from snapshot and if possible exported snapshot pdf?&lt;/P&gt;
&lt;P&gt;- zipped version of agent logs for the same snapshot BT collected above&lt;/P&gt;

&lt;P&gt;To answer your query, method does not need to appear in call graph but the method must be part of execution of BT associated for which data collector is configured, hope that clarifies.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 09:19:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735719#M5413</guid>
      <dc:creator>Arun_Dasetty</dc:creator>
      <dc:date>2014-10-23T09:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735720#M5414</link>
      <description>&lt;P&gt;It does help clarify, thank you. The method should be executed within an async snapshot of the&amp;nbsp;transaction - is it possible for the data to be "dropped" if AppD doesn't properly identify the start of the async activity?&lt;/P&gt;

&lt;P&gt;Kris&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 17:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735720#M5414</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-23T17:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735721#M5415</link>
      <description>&lt;P&gt;Hi Kris,&lt;/P&gt;

&lt;P&gt;Your understanding is right, if the async calls are not part of same BT and the api on which collector is defined is part of async calls then the collector data will not be captured.&lt;/P&gt;

&lt;P&gt;But we see in ideal cases we should be able to capture async class if the async calls are part of supported apis listed in &amp;lt;fork-config&amp;gt; under &amp;lt;agent-dir&amp;gt;/conf/app-agent-config.xml , Hope that information helps.&lt;/P&gt;

&lt;P&gt;Screenshot and&amp;nbsp;logs requested earlier would provide us more insight and clarity here.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2014 09:21:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735721#M5415</guid>
      <dc:creator>Arun_Dasetty</dc:creator>
      <dc:date>2014-10-24T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735722#M5416</link>
      <description>&lt;P&gt;Thanks again, Arun. Is there any more detailed documentation available regarding &lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;fork-config&amp;gt;&lt;/SPAN&gt; than:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO14S/Configure+Multi-Threaded+Transactions+for+Java" target="_self" rel="nofollow noopener noreferrer"&gt;Configure Multi-Threaded Transactions for Java&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I'm not quite sure I understand the details of what &lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;exclude&amp;gt;&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;include&amp;gt;&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;job&amp;gt;&lt;/SPAN&gt; are really doing and how they impact async snaps.&lt;/P&gt;

&lt;P&gt;Kris&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2014 15:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735722#M5416</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-24T15:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why would data collector info not be included in snapshot's user data?</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735723#M5417</link>
      <description>&lt;P&gt;Hi Kris,&lt;/P&gt;

&lt;P&gt;Class/packages mentioned in &amp;lt;exclude &amp;gt; section will not be considered for async instrumentation and class/packages stated in &amp;lt;include&amp;gt; under &amp;lt;fork-config&amp;gt; element are considered for async instrumentation and regarding the job elemenet&lt;/P&gt;

&lt;P&gt;Say if your class is implementing Thread class or class listed in &amp;lt;job&amp;gt; element in &amp;lt;fork-config&amp;gt; it means they are shown as async exit calls in BT snapshot call graph but if you see that your class is not fallen under any of the &amp;lt;fork-config&amp;gt; -&amp;lt; &amp;lt;job&amp;gt; section in file &amp;lt;agent_install_dir&amp;gt;/conf/app-agent-config.xml&amp;nbsp; than you can add one addition &amp;lt;job&amp;gt; element to add support for async for your classes that implement different thread class:&lt;/P&gt;

&lt;P&gt;&amp;lt;job&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;match-class type="inherits-from-class"&amp;gt;&amp;lt;name filter-type="EQUALS" filter-value="java.lang.Thread"/&amp;gt;&amp;lt;/match-class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;match-method&amp;gt;&amp;lt;name filter-type="EQUALS" filter-value="run"/&amp;gt;&amp;lt;/match-method&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;name-config operation="" type="4"/&amp;gt;&lt;BR /&gt;&amp;lt;/job&amp;gt;&lt;/P&gt;

&lt;P&gt;Hope that clarifies. Also we see no other specific regarding the description on above elements. To better assist you we request you to provide agent logs folder archive version and screenshot from call graoh hightlight the api that you are referring to.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 01:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Why-would-data-collector-info-not-be-included-in-snapshot-s-user/m-p/735723#M5417</guid>
      <dc:creator>Arun_Dasetty</dc:creator>
      <dc:date>2014-10-25T01:36:25Z</dc:date>
    </item>
  </channel>
</rss>

