You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the mq_prometheus exporter and we would like to enable or disable the collection of different status separately.
Using the ibmmq.useStatus option it is possible to enable/disable the collection of metrics from all object STATUS fields. However, we would like to do this separately. For instance, we would like to be able to keep Queue status, but disable the collection of Channel and Topic status:
I guess we would need to modify the exporter to check additional configuration fields:
Most of the code "above" the checking of the patterns makes sure we've got a clean response back to the main functions. While none of the current collectors do it, I can certainly imagine collectors that dynamically change the list of objects, and would rely on having that cleanup processing done between each iteration.
We are using the
mq_prometheus
exporter and we would like to enable or disable the collection of different status separately.Using the ibmmq.useStatus option it is possible to enable/disable the collection of metrics from all object STATUS fields. However, we would like to do this separately. For instance, we would like to be able to keep Queue status, but disable the collection of Channel and Topic status:
I guess we would need to modify the exporter to check additional configuration fields:
I am aware we could use filters, but we would like to avoid polling resources when metrics are not needed.
If this use case makes sense to you and you could provide some guidance, we would be happy to contribute to get it implemented.
The text was updated successfully, but these errors were encountered: