Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus Mainframe IBM MQ metrics for total messages count #525

Open
narsingumahesh opened this issue May 9, 2023 · 0 comments
Open

Comments

@narsingumahesh
Copy link

narsingumahesh commented May 9, 2023

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="*"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant