-
Notifications
You must be signed in to change notification settings - Fork 70
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
Change unique metrics collected #114
Comments
Hi all, We have a similar challenge. We would certainly want to use more than 2 or 3 metrics, but are now forced to configure the 'jobname' field in particular out of the channel information, as this leads to a very bad cardinality in the database. Therefore, I am very curious what possibilities there are (or could be) without having to adapt the code for each release (which we are currently considering in order to be able to use the mq-metric-samples at all). |
The |
On the |
We mainly use SRVCONN channels, which of course also have long-lasting connections for the most part. Your suggestion to fill the field 'job name' with a literal should be very helpful for our purposes. Even though I am not a go programmer, the change should be possible with the change in 'exporter.go' on line 451. Many thanks for your quick answer |
@ibmmqmet more specifically, we only need at the moment and for certain environments: queue depth, qmgr stats, queue oldest message age, qmgr and channel status. Queue metrics in particular are only a killer because of the sheer number of queues we have. I searched in the code repository for queueSubscriptionSelector but didn't really see what metrics would fall into PUT, GET, GENERAL (iow, if I were to deactivate these, which one(s) would leave us with what we need? |
See https://www.ibm.com/docs/en/ibm-mq/9.2?topic=trace-metrics-published-system-topics for the values returned by various classes and types. Or you can explore them yourself using the |
@ibmmqmet Okay, understood. Either General or Put depending on MQ version. For ibmmq_qmgr_status and ibmmq_channel_status, do those ALWAYS get provided or always as long as the sourced metric is available? |
The |
Thanks! |
ibmmq - Add MQI parameters for keystore passwords mqmetric - Option to hide svrconn jobname attribute (ibm-messaging/mq-metric-samples#114) mqmetric - Option to use Durable subscriptions for queue metric data (reduces need to increase MAXHANDS) mqmetric - Exit with error if trying to use resource publications with pre-V9 qmgrs
We're using a recent version of mq-metric-samples and would like to configure the following:
Reduce metrics exported - right now we're exporting a large number of MQ metrics that we don't need (really, we only need maybe 2-3 distinct metrics per queue). Is there a way to set the metric set to the number we need? I see queue and channel properties but nothing for metrics.
The text was updated successfully, but these errors were encountered: