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

How to collect additional MQ metrics? #278

Closed
SenthilRagu opened this issue Jan 17, 2024 · 1 comment
Closed

How to collect additional MQ metrics? #278

SenthilRagu opened this issue Jan 17, 2024 · 1 comment

Comments

@SenthilRagu
Copy link

Affected version: v5.5.0

Thanks for building and sharing the Prometheus monitoring for MQ.
Im new to this and just did the setup as mentioned in the doc and able to see MQ stats.
However I have some questions regarding the stats that are getting collected.

We are running MQ9.3 on Openshift containers and we are able see all the metrics as mentioned in this doc - https://github.com/ibm-messaging/mq-metric-samples/blob/master/metrics.txt

Question-
If any additional metrics needs to be collected is there a way that we can modify config or code to get the stats?

For ex-
How to collect the SSL CIPHER and Remote Client version in Channel status?
in MQ, Remote application Cipher and version is in the display command output, but this metrics is not collected by Prometheus.

dis chs(TEST.CHL) ALL
SSLCIPH( )
RVERSION(09030011)

@ibmmqmet
Copy link
Collaborator

The examples you give are not metrics. They are status values. And they are strings, not numbers.

While it would be technically possible to collect them, they could only be available via labels, not as metrics that show up on graphs. The values do not change through the lifetime of a channel instance.

It is not a good idea to have lots of labels on data points. We try to collect the minimum set of attribute and status values to use as labels, the ones that are really essential to identify the object.

@ibmmqmet ibmmqmet closed this as completed Feb 1, 2024
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

2 participants