• 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 Bert H. · Jan 27, 2015 at 08:21 PM ·

Entry Point is not working as expected

We have some Cron jobs (Quarz) doing background processing and those things are not detected as a purepath by default. So I created a Sensor Group "Quartz" and defined the execute method on org.quartz.job as an entry point.

That worked well, but since the nature of these quartz jobs is doing stuff in a loop, it results in only a few purepaths (at every run) but with a huge size exceeding the 10000 limit. I would rather start a purepath somewhere deeper, within the loop, so I would end up with a lot more, but smaller, purepaths.

However, none of the methods I defined (and I tried a few) are doing what I expect. When the org.quartz.job.execute sensor is not placed, it doesn't start any purepath.

 

As you can see, both on Method level as on Pack level I have "active and Start Purepaths" on.

And even in the deployed sensors view, I see that the method I want to start a purepath in, is instrumented correctly.

What am I missing here?

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.

4 Replies

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

Answer by Andreas G. · Jan 27, 2015 at 11:14 PM

Hi

I think the thing you are missing is the visibility level of your methods. I can see your rules for "all methods". I assume you created a new method rule for it which by default only instruments PUBLIC methods. Your methods however might be protected or private. Therefore - edit the rule and play with the visiblity settings to also include private methods.

If my assumption is correct than i think this will solve your problem

Andi

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 Bert H. · Feb 02, 2015 at 09:57 PM

All methods I have defined in this sensor group are public methods.

The RunInNewTXDelegate is even a very simple POJO which is instantiated every time again.

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 Sreerag M. · Feb 03, 2015 at 03:59 AM

Hi,

If i remember correctly this is what we did when we instrumented a java batch based on spring framework.

We removed the servlet sensor and set the method for individual iteration of the loop to start the purepath. We also removed the thread tagging sensor because we knew that each iteration is executed by one thread and we wanted only one thread data in each purepath.

You could try this if this make sense in your case.

Also it would be easy to help if you cloud share one purepath with these methods instrumented.

-Sreerag

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 Bert H. · Feb 04, 2015 at 06:34 PM

I can't remove any of these important sensors since the batch jobs are running on the same agents as the rest of the application.

I can't share a purepath since I don't have one. It isn't started. The only time a purepath is started is when I enable the EJB3InvokerJob.execute sensor. But then, it becomes too long.

I will try to investigate this a bit further on our test environment.

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.

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

2 People are following this question.

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