<?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: OneAgent SDK - IncomingWebRequestTracer in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126061#M15392</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Not sure how we missed that, only one small difference between the example and our actual code. It was fixed and now matches with the OneAgent-SDK-for-Java documentation.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stijn&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Dec 2019 13:31:59 GMT</pubDate>
    <dc:creator>stijn_bienkens</dc:creator>
    <dc:date>2019-12-17T13:31:59Z</dc:date>
    <item>
      <title>OneAgent SDK - IncomingWebRequestTracer</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126057#M15388</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;On GitHub the following example is given to trace incoming web requests:&lt;/P&gt;&lt;PRE&gt;IncomingWebRequestTracer tracer = OneAgentSDK.traceIncomingWebRequest(waInfo, "https://www.oursupershop.com/api/checkout", "POST") &lt;BR /&gt;tracer.setDynatraceStringTag(tag);&lt;BR /&gt;tracer.start();&lt;/PRE&gt;&lt;P&gt;This works fine in case the incoming request already contains a "tag" (the X-dynaTrace header). However, when incoming web requests haven't been previously tagged, the web requests aren't registered by the OneAgent SDK.&lt;/P&gt;&lt;P&gt;We still create the IncomingWebRequestTracer object and call it's start() method, but the requests do not show up within Dynatrace.&lt;/P&gt;&lt;P&gt;Is something else required to trace incoming web requests that do not contain the dynatrace header?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stijn&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Dec 2019 14:55:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126057#M15388</guid>
      <dc:creator>stijn_bienkens</dc:creator>
      <dc:date>2019-12-15T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent SDK - IncomingWebRequestTracer</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126058#M15389</link>
      <description>&lt;P&gt;Why are you using pure SDK when you have dedicated Java one?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-Java#trace-incoming-web-requests"&gt;https://github.com/Dynatrace/OneAgent-SDK-for-Java#trace-incoming-web-requests&lt;/A&gt;&lt;/P&gt;&lt;P&gt;here you have full example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-Java/blob/master/samples/webrequest/src/main/java/com/dynatrace/oneagent/sdk/samples/webrequest/WebRequestApp.java"&gt;https://github.com/Dynatrace/OneAgent-SDK-for-Java/blob/master/samples/webrequest/src/main/java/com/dynatrace/oneagent/sdk/samples/webrequest/WebRequestApp.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Dec 2019 15:12:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126058#M15389</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-12-15T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent SDK - IncomingWebRequestTracer</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126059#M15390</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;technically there is no reason why the services should not show up in your case.&lt;BR /&gt;&lt;BR /&gt;Could you try it with a simple example like this?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-Java/blob/master/samples/webrequest/src/main/java/com/dynatrace/oneagent/sdk/samples/webrequest/FakedWebserver.java"&gt;https://github.com/Dynatrace/OneAgent-SDK-for-Java/blob/master/samples/webrequest/src/main/java/com/dynatrace/oneagent/sdk/samples/webrequest/FakedWebserver.java&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;If the problem persists, please share some additional information about your use case (SDK version being used and detailed sample code).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wolfgang&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:44:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126059#M15390</guid>
      <dc:creator>wolfgangziegler</dc:creator>
      <dc:date>2019-12-16T06:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent SDK - IncomingWebRequestTracer</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126060#M15391</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;The tracing code is being called from a Singleton and we discovered there was a mismatch between the messages and tracer objects.&lt;/P&gt;&lt;P&gt;It caused tracing sessions to be ended to soon or not even at all. The PurePaths not showing up as described above was probably just a side-effect of this issue (can't say for sure as we also updated OneAgent and switched from OneAgent SDK 1.6 to 1.7).&lt;/P&gt;&lt;P&gt;It is now working as expected.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stijn&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:29:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126060#M15391</guid>
      <dc:creator>stijn_bienkens</dc:creator>
      <dc:date>2019-12-17T13:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent SDK - IncomingWebRequestTracer</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126061#M15392</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Not sure how we missed that, only one small difference between the example and our actual code. It was fixed and now matches with the OneAgent-SDK-for-Java documentation.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stijn&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:31:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OneAgent-SDK-IncomingWebRequestTracer/m-p/126061#M15392</guid>
      <dc:creator>stijn_bienkens</dc:creator>
      <dc:date>2019-12-17T13:31:59Z</dc:date>
    </item>
  </channel>
</rss>

