MSMQ Monitoring metrics
search cancel

MSMQ Monitoring metrics

book

Article ID: 216492

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

We have the below query: In our environment, there is publisher and subscriber which will use send and receive methods respectively to send and receive the messages, we have instrumented publisher (regarding subscriber will confirm after validation) where we are getting the metrics like peaks per interval.
 
Please note that, we have not instrumented MSMQ. Kindly let us know whether we need to instrument MSMQ as well in order to get the metrics related to MSMQ.

Environment

Release : 10.7.0

Component : APM Agents

Resolution

Customer was looking to get metrics on the MSMQ environment, queue depth etc. - the Receive and Send methods were already being reported.

The .Net agent measures application activity method executions etc. it does not measure the infrastructure status like number of messages in a queue etc.

To monitor the MSMQ environment information it is possible to use the PerfmonCollectorAgent that is installed with the .Net Agent and have that access the counters that MSMQ publishes for queue depth etc. See below screen shot from the Microsoft Perfmon utility showing available counters

The counters reported in the agent are controlled in the introscopeagent.profile via the property introscope.agent.perfmon.metric.filterPattern.