<?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 Custom Service - with recursion? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Custom-Service-with-recursion/m-p/120532#M13102</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We've defined a custom service, based on a .Net method called Execute.&lt;BR /&gt;This method is calling itself recursively several times.&lt;BR /&gt;&lt;BR /&gt;The end result is that we see a "request" (=method execution) which contains the sequential recursion execution in its purepath. Is there a way to separate the executions into different "requests"? &lt;BR /&gt;&lt;BR /&gt;Consider this example, monitored by Dynatrace Custom service:&lt;BR /&gt;&lt;BR /&gt;myMethod(int x) {&lt;!-- --&gt;&lt;BR /&gt;if( x &amp;gt; 1) { &lt;BR /&gt;myMethod(x-1)&lt;/P&gt;
&lt;P&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;-----------&lt;BR /&gt;myMethod(3);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I get the dynatrace service to show all the executions as separate "requests" rather than one purepath?&lt;BR /&gt;i.e:&lt;BR /&gt;&lt;BR /&gt;myMethod - 3&lt;BR /&gt;myMethod - 2&lt;BR /&gt;myMethod - 1&lt;/P&gt;
&lt;P&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jun 2021 11:50:31 GMT</pubDate>
    <dc:creator>danielbr</dc:creator>
    <dc:date>2021-06-10T11:50:31Z</dc:date>
    <item>
      <title>Custom Service - with recursion?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Custom-Service-with-recursion/m-p/120532#M13102</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We've defined a custom service, based on a .Net method called Execute.&lt;BR /&gt;This method is calling itself recursively several times.&lt;BR /&gt;&lt;BR /&gt;The end result is that we see a "request" (=method execution) which contains the sequential recursion execution in its purepath. Is there a way to separate the executions into different "requests"? &lt;BR /&gt;&lt;BR /&gt;Consider this example, monitored by Dynatrace Custom service:&lt;BR /&gt;&lt;BR /&gt;myMethod(int x) {&lt;!-- --&gt;&lt;BR /&gt;if( x &amp;gt; 1) { &lt;BR /&gt;myMethod(x-1)&lt;/P&gt;
&lt;P&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;-----------&lt;BR /&gt;myMethod(3);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I get the dynatrace service to show all the executions as separate "requests" rather than one purepath?&lt;BR /&gt;i.e:&lt;BR /&gt;&lt;BR /&gt;myMethod - 3&lt;BR /&gt;myMethod - 2&lt;BR /&gt;myMethod - 1&lt;/P&gt;
&lt;P&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 11:50:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Custom-Service-with-recursion/m-p/120532#M13102</guid>
      <dc:creator>danielbr</dc:creator>
      <dc:date>2021-06-10T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Service - with recursion?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Custom-Service-with-recursion/m-p/120533#M13103</link>
      <description>&lt;P&gt;No, that's unfortunately not possible, I guess mainly for overhead reasons, see here:&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/custom-services#delegation-suppression" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/custom-services#delegation-suppression&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;OneAgent suppresses method delegation &lt;STRONG&gt;per service&lt;/STRONG&gt;. That is, any calls between two methods of one service are not recorded. If you need to capture such calls you must create a separate custom service for it.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 13 Jan 2021 20:01:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Custom-Service-with-recursion/m-p/120533#M13103</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-01-13T20:01:31Z</dc:date>
    </item>
  </channel>
</rss>

