<?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: how much time is needed for onesdk_shutdown to pass data to oneagent in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/how-much-time-is-needed-for-onesdk-shutdown-to-pass-data-to/m-p/122307#M14047</link>
    <description>&lt;P&gt;OK. Unfortunately, as far as I know the exact time to wait cannot be easily estimated. The agent does send all pending PurePaths to the server in &lt;CODE&gt;onesdk_shutdown&lt;/CODE&gt; but the problem is that some Path data (like any string values) are only sent to Dynatrace when a server asks the agent for it, which it does when it processes the PurePath that contains references to them. Thus the wait time could depend on the total cluster load, among other things. &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Aug 2019 09:55:08 GMT</pubDate>
    <dc:creator>wolfgangziegler</dc:creator>
    <dc:date>2019-08-23T09:55:08Z</dc:date>
    <item>
      <title>how much time is needed for onesdk_shutdown to pass data to oneagent</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/how-much-time-is-needed-for-onesdk-shutdown-to-pass-data-to/m-p/122306#M14046</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;For our prospect which has package softwares in C, we are testing oneagent SDK to capture transactions.&lt;/P&gt;&lt;P&gt;The application consists of a parent and child processes as show below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Due to shutdown timing, sometimes we failed to completely capture transactions(purepaths).&lt;/P&gt;&lt;P&gt;The warning message was as below:&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;Some data could not be collected or transmitted. This is most likely due to a resource congestion on network, host or process level in your monitored environment (Diagnostic codes: C1, A5)&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;The failure rate decreases when we set sleep() before onesdk_shutdown().&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;Is there any best practice to embed oneagent SDK into this type of environment?&lt;/P&gt;&lt;P&gt;We want to know how much time needed to pass collected data to oneagent.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I guess it depends on the size of data collected, so just rough estimated time is sufficient(a few seconds, 10 seconds...or others).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/21624-application-image.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hiroshi Kitahara&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2019 06:32:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/how-much-time-is-needed-for-onesdk-shutdown-to-pass-data-to/m-p/122306#M14046</guid>
      <dc:creator>hiroshi_kitahar</dc:creator>
      <dc:date>2019-08-23T06:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: how much time is needed for onesdk_shutdown to pass data to oneagent</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/how-much-time-is-needed-for-onesdk-shutdown-to-pass-data-to/m-p/122307#M14047</link>
      <description>&lt;P&gt;OK. Unfortunately, as far as I know the exact time to wait cannot be easily estimated. The agent does send all pending PurePaths to the server in &lt;CODE&gt;onesdk_shutdown&lt;/CODE&gt; but the problem is that some Path data (like any string values) are only sent to Dynatrace when a server asks the agent for it, which it does when it processes the PurePath that contains references to them. Thus the wait time could depend on the total cluster load, among other things. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2019 09:55:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/how-much-time-is-needed-for-onesdk-shutdown-to-pass-data-to/m-p/122307#M14047</guid>
      <dc:creator>wolfgangziegler</dc:creator>
      <dc:date>2019-08-23T09:55:08Z</dc:date>
    </item>
  </channel>
</rss>

