Closed salapat11 closed 2 years ago
Prometheus is the best way to count metrics. It can do various groupings automatically. For example,
count by (channel,qmgr) (ibmmq_channel_status)
gives a graph of the number of active channels of each name for each qmgr. So you can see how many SYSTEM.DEF.SVRCONN instances are going.
I could consider adding MaxChannels for z/OS as it is available via MQINQ. But not for Distributed platforms as the corresponding controls are in the qm.ini file, not readily accessible in a program.
Mark, thanks for the response. Yes. I am using the same metric but given the number of samples for some queue managers, it is taking a long time to return the query.
Mark,
Will it be possible to add a metric for channel count for each channel (that counts the channels that are running)? Currently we measure the count using the count query after the samples are collected. But it would be more useful if we can have a metric for that.
Also, a metric for max channel count on a queue manager.