• 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 Chris K. · Oct 22, 2013 at 03:36 AM ·

Starting Purepaths on Deploy

I added a sensor for weblogic.application.internal.flow.ModuleStateDriver.start(weblogic.application.Module[]) which offers great insight into what happens when our apps are deployed.  However, I have run into one problem.  Several of these apps initiate message listeners at deploy time.  This causes all of my onMessage calls to be part of the deploy purepath instead of where I expect them.  To elaborate, weblogic will call the Spring application context as part of the start.  This calls org.springframework.core.task.SimpleAsyncTaskExecutor.execute(java.lang.Runnable task), then there is an asynch invocation and an asynch path and org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() runs in the new thread and kicks off all of the onMessage() calls.  Is there any way to exclude this thread from the deploy purepath without turning off threading support for all other purepaths?  Or is there a supported way to detect deploy/start errors other than custom sensors?

 

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.

1 Reply

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

Answer by Andreas G. · Oct 23, 2013 at 09:27 AM

Hi

You can try a "global exclude" for the methods that you dont want to instrument. But - you may need to modify the our Threading Sensor Pack because your "custom" global excludes may be overruled by our out-of-the-box Sensor Packs. Before going into these details I suggest you give it a try and define some global exclusion rules for those methods that you dont want a PurePath started for.

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

1 Person is following this question.

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