• 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 Leo S. · Sep 05, 2015 at 05:51 PM ·

Can't see full execution path of a method containing impementation of ArrayBlockingQueue

Let's say a method is being used as an entry point - it picks up a message and starts processing. At some point it places the transformed message into the queue via the offer call. The queue is being constantly polled - the message is being picked up and processed by another thread. I can easily see everything (call hierarchy based on the custom sensor pack) before the message is retrieved from the BlockingQueue. However, regardless what I do, I can't see anything on the other side of the queue. Any ideas?

Thanks,

Leo

PS. The pool is created/initialized as follows:

private List<....> workerThreads = new ArrayList();    

for (int i = 0; i < maxThreads; i++) {
            CashPostingWorkerThread thread = new CashPostingWorkerThread(....);
            thread.setName("xxxx-" + i);
            workerThreads.add(thread);
            thread.start();
        }        
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
Best Answer

Answer by Reinhard W. · Sep 05, 2015 at 08:48 PM

As this is a custom messaging/queue protocol you'll likely need to implement also custom tagging by using the ADK for tagging.

Comment
Leo S.

People who like this

1 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 Leo S. · Sep 07, 2015 at 07:41 PM 0
Share

Thank you, Reinhard. I don't think is a custom protocol. Blocking Queue is part of the java concurrency framework available since Java 1.5. Having said that, we don't use Executor to start those threads. Maybe the thread(s) that polling the queue is not being tagged and/or detected because of that... Anyway, would it be possible to post an example on how to implement custom thread tagging using ADK.

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

8 People are following this question.

avatar image avatar image avatar image 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