<?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 to monitor Spring @Scheduled classes in Dynatrace? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208212#M25384</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case, defining a Custom Service will be best. As you noticed, we set there to a specific package, class and method. How often do you change the structure of your application code that this will be a problem?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/custom-services#java-and-net-services" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/custom-services#java-and-net-services&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Radek&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 09:03:26 GMT</pubDate>
    <dc:creator>radek_jasinski</dc:creator>
    <dc:date>2023-03-28T09:03:26Z</dc:date>
    <item>
      <title>How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208175#M25379</link>
      <description>&lt;P&gt;Spring supports concept of creating methods running as Scheduled Jobs (using java annotation concept of&amp;nbsp;&lt;SPAN&gt;@Scheduled).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is there a way in Dynatrace to actually monitor those for performance collectively? (I know the Elastic APM supports this out of box).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I came across a way to creating Custom Entry Point, but that has a problem of any developer changing class name or move the class to different package - the monitoring breaks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 07:28:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208175#M25379</guid>
      <dc:creator>arpitkumar</dc:creator>
      <dc:date>2023-03-28T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208212#M25384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case, defining a Custom Service will be best. As you noticed, we set there to a specific package, class and method. How often do you change the structure of your application code that this will be a problem?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/custom-services#java-and-net-services" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/custom-services#java-and-net-services&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Radek&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 09:03:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208212#M25384</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-03-28T09:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208329#M25400</link>
      <description>&lt;P&gt;The problem is not code changing; the problem is segregation of concern. Even with pure devops model, there is likely chance of this breaking cause the devs can always rename code, add new methods. Anyways - this is what we have done for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow Up Question --&amp;gt; I have opted for Automatically Detect Methods -- if a new method is added, will the&amp;nbsp;&lt;STRONG&gt;Custom Service Detection&amp;nbsp;&lt;/STRONG&gt;automatically add / monitor the new method or we have to come and refresh something in the system?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 16:31:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208329#M25400</guid>
      <dc:creator>arpitkumar</dc:creator>
      <dc:date>2023-03-28T16:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208413#M25410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61247"&gt;@arpitkumar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;the whole trick is not to instrument method You thinking about, but generic method that is used to actually trigger those&amp;nbsp;@Schedulled methods. In framework there is such one that is being inherited by all of those customely created methods.&lt;BR /&gt;If You will instrument this base one You will get everything You need including new and renamed ones in one swoop.&lt;BR /&gt;I highly recommend capturing additional requestArrtibute with arguments of this base one, as one of them is containing actual method You put&amp;nbsp;@Schedulled annotation on.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 22:33:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208413#M25410</guid>
      <dc:creator>MichalOlszewski</dc:creator>
      <dc:date>2023-03-28T22:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208534#M25429</link>
      <description>&lt;P&gt;Thanks Michal for your response. I don't think it make sense to instrument the internal framework of Spring and monitor that - because that is the one behind the scene triggering methods which are &lt;STRONG&gt;marked as&amp;nbsp;@Scheduled&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And should I presume from your answer that if I instruments specific methods, then any new ones added are not picked up.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 18:23:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/208534#M25429</guid>
      <dc:creator>arpitkumar</dc:creator>
      <dc:date>2023-03-29T18:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor Spring @Scheduled classes in Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/210594#M25934</link>
      <description>&lt;P&gt;IF You instrument framework then new ones are AUTOMATICALLY instrumented/monitored - You want that, as single instrumentation covers everything (BTW this is how Dynatrace covers frameworks and important technologies)&lt;BR /&gt;IF You instrument methods directly new ones ARE NOT instrumented/monitored.&lt;BR /&gt;Hope this clarifies it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 08:34:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-monitor-Spring-Scheduled-classes-in-Dynatrace/m-p/210594#M25934</guid>
      <dc:creator>MichalOlszewski</dc:creator>
      <dc:date>2023-04-25T08:34:00Z</dc:date>
    </item>
  </channel>
</rss>

