cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Number of messages written when QUEUE service is not monitored

Hello,

we would like to create a custom metrics showing the number of messages written into a specific queue:

monitoringteam1_0-1626182856285.png

Like in the screenshot attached, the number we are interested in is "738", not the number of purepath on the caller.

Queue listener is not monitored with oneagent so the only info we have is caller side. Is there a way to extract that number as metric???

Thank you,

 

4 REPLIES 4

Julius_Loman
Leader

At the moment - only way I can think of is to define a custom service in the code where the message gets pushed into the queue and then use the metric.

Queues are still considered second class citizens within Dynatrace and you don't have any metrics for them. 

In MDA you can count the number of requests writing to the queue, but this is not the same as number of messages written into the queue.

TEMPEST a.s., Slovakia, Dynatrace Master Partner

Babar_Qayyum
Leader

Hello @monitoringteam1 

I am not 100% sure but might be the Enqueue/Dequeue Rate can be used to obtain the required information. If we use the IBM MQ monitoring extension.

https://www.dynatrace.com/support/help/technology-support/dynatrace-extensions/dynatrace-extension-r...

Regards,

Babar

Julius_Loman
Leader

@Babar_Qayyum with the extension you will have the metric, but it's only about the queue. You cannot distinguish between sources of the messages that go into the queue. 

TEMPEST a.s., Slovakia, Dynatrace Master Partner

Hello @Julius_Loman 

Thank you for the information.

Regards,

Babar