• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Eric S. · Jun 19, 2013 at 07:32 PM ·

Is there a way to have dynatrace monitor tasks kicked off by quartz

One of our applications runs with quartz embedded inside of the tomcat, and it appears that dynatrace is not monitoring any of the activity started by the scheduler. Is there any way to make this happen?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

5 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Graeme W. · Aug 07, 2015 at 03:20 AM

Jonathan,

Check to see if the thread start method you can see in your abbreviated PurePath is included in the OOTB Thread Start Tagging sensor pack.

You might have to escalate this to the lab.

-- Graeme

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jon G. · Aug 06, 2015 at 04:18 PM

Hi,

Did anyone work out the best methods to instrument for Quartz? I am currently on a customer site and they have Quartz. I tried starting a PurePath from the method Roman suggested above but it gives me a completely separate PurePath with only that method plus a thread start method.

Thanks,

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rick B. · Aug 06, 2015 at 09:51 PM 0
Share

Do you have the Thread Start Tagging sensor placed and active on the agent?

avatar image Jon G. Rick B. · Aug 07, 2015 at 01:43 AM 0
Share

Yes it is placed and active. It is turned on by default.

avatar image

Answer by Paul S. · Nov 27, 2013 at 02:24 PM

Richard (guys) how do you add such a Monitor in dynaTrace that it create a new Pure Path?

Comment

People who like this

0 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rick B. · Nov 27, 2013 at 02:29 PM 0
Share

Using Roman's suggestion above, I would place a sensor on Job.execute() and set it to "Active and Start PurePaths"

For more information on sensors in general as well as what we call "entry points" check out the documentation: Sensor Configuration

avatar image Paul S. Rick B. · Nov 27, 2013 at 04:24 PM 0
Share

Many thanks. It worked. Do you have an idea how I create a Application Mapping for it? No this pure paths are simply in the Default Application, but I would like to move it into a specific one.

It has no URI/ URL of course but it seems that "AppId" works too which is created by the ADK (what ever that is). Not sure where I can see the APP ID of this Pure Path.

 

avatar image Rick B. Paul S. · Nov 27, 2013 at 05:01 PM 0
Share

Hi Paul,

There is a popular request for enhancement around what you are looking for.  It looks like it will be implemented in the Spring 2014 release but an "up vote" and a comment shouldn't hurt (smile)

RFE - Application mapping - for non-http-based Applications

avatar image

Answer by Roman S. · Jun 19, 2013 at 08:41 PM

Reading through some Quartz docs the Job.execute method might be a good, generic entry point. Try putting a sensor on that method and make sure it is active and can start PurePaths.

package org.quartz;

public interface Job {

  public void execute(JobExecutionContext context)
      throws JobExecutionException;
}

http://www.quartzscheduler.org/quartz/tutorial.html#jobsNTriggers

Best, Roman

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Rick B. · Jun 19, 2013 at 07:41 PM

Hopefully someone can give you a more experienced answer, but without knowing anything about the application:

You can run a CPU sample during a task run and follow the thread you see running the task to a good entry point. I typically go one or two levels below the run() method. Keep in mind that the default view of a CPU sample is a reverse call tree

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Michael B. · Jun 19, 2013 at 08:30 PM 0
Share

I'm capturing a purepath that's kicked off by Quartz scheduler using the method Richard described above. After you take the CPU sample you can filter view by thread and place a sensor on the method that you want to start a purepath. Make sure you allow that method to start a purepath or you won't see anything.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A