• 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 Antoine M. · Apr 17, 2015 at 07:17 AM ·

Batch Jobs

All,

We have some batch jobs which are initiated on the web in a JVM (Admin JVM).  The Admin JVM, puts a message on queue and another corresponding JVM (which will do the work, call it Service JVM), receives the message and starts doing the work.

What we end up with is a pure path that starts out as a Servlet call.

Admin JVM (URI: /startJob.htm - captured by Servlet sensor)

 

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 Christian S. · Apr 30, 2015 at 04:59 PM

hi Antoine,

so the URL is something like "<host>/startJob.htm", right?

in this case you should easily be able to prohibit starting of the PurePath at the Servlet sensor here, by just excluding it in the Servlet Sensor properties.
however, "/startJob.htm" is the URI, not the query!

did you try excluding this as described?

HTH,
Christian 

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 Antoine M. · Apr 17, 2015 at 01:38 PM

Hi Andreas,

Based on the pure path, the API that starts the pure path is listed as Servlet. I'll double check tomorrow and respond back.

Thanks for responding. 

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 Andreas G. · Apr 17, 2015 at 12:12 PM

Hi. Excluding the URL sounds about right. Is it possible that you also have a Web Server Agent on e.g: Apache installed and that is actually the Entry Point of your PurePAth? If that is so you also need to exclude the URL for your Web Server Agent in the Web Server Sensor Properties. If that is not the case then it would be interesting to see some of your PurePaths. Feel free to send them over. Either attach them here or send them to me via my Share your PurePath program

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 Antoine M. · Apr 18, 2015 at 03:32 AM 0
Share

Hi Andreas,

I don't have a Web Server agent installed and tried excluding the URI in the Servlet properties and it still shows up as the entry point to the pure path.  

Just to test out a scenario, I inactivated the JMS and Servlets sensor to see the outcome and the pure path started at JobService.executeJob.  However, this is not a desirable solution since JMS and Servlets are both needed for other functionality.

I'm not sure if I can use share my pure path or post them due to the project.  Should I use support for this inquiry?

Thanks,

Antoine

avatar image Andreas G. ♦ Antoine M. · Apr 21, 2015 at 03:56 PM 0
Share

Either support or our professional services would be the next best steps!

avatar image

Answer by Antoine M. · Apr 17, 2015 at 07:31 AM

All,

 

We have some batch jobs which are initiated on the web in a JVM (Admin JVM).  The Admin JVM, puts a message on queue and another corresponding JVM (which will do the work, call it Service JVM), receives the message and starts doing the work.

 

What we end up with is a pure path that starts out as a Servlet call.

Admin JVM (URI: /startJob.htm - captured by Servlet sensor)

   -> Admin JVM sends a JMS message (captured by JMS sensor)

   -> Service JVM receives a JMS Message (captured by JMS sensor)

       -> JobService.executeJob  (captured by custom sensor which is Active and Starts Pure Path)

       -> ….

       -> …

 

The issue is, we don’t want this pure path to start at the web layer, we would like to pure path to start at JobService.executeJob.  But I can’t unplace the Servlets or JMS sensors for either of these JVMs as there is other functionality these JVMs both handle.

 

Q 1) I’ve currently tried the following to exclude the URI from starting the pure path.  However, the pure path starting with the URI still showed up but the filter chain was omitted :

  - exclude the startJob.htm URI from being captured in Servlet Sensor properties (URI: <empty>, Match: contains, Query: /startJob.htm, Match: <empty>)

  - is this correct?

 

Q 2) Is this achievable without unlacing the sensors?

 

Thanks in advance

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