ibm-messaging/mq-container

Prometheus Mainframe IBM MQ metrics for total messages count

narsingumahesh opened this issue · 1 comments

We are trying to pull total MQ messages count in Mainframe MQ using Prometheus and grafana monitoring. Could you please help us to get grafana metric for messages total count on mainframe MQ and Total Messages bytes transferred count.

To get this report in Linux we are using below metric.
For Total messages : sum(ibmmq_queue_mqput_mqput1_count{qmgr="**"} + ibmmq_queue_mqget_count{qmgr="**"})
For total bytes transferred: sum(ibmmq_qmgr_put_persistent_messages_bytes{qmgr="*"} +ibmmq_qmgr_put_non_persistent_messages_bytes{qmgr="*"})