-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Make use of prometheus filter settings on IBM-MQ Metricbeat module #16513
Comments
@mtojek could you give some basic instructions on how to include the ibmmq module (or point to documentation that I can read to figure this out as a person that's new to metricbeat and this codebase)? When including the following to metricbeat.yml (as suggested here https://www.elastic.co/guide/en/beats/metricbeat/7.x/metricbeat-module-ibmmq.html)
I'm getting "Exiting: 1 error: metricset libmmq/qmgr not found" when starting up metricbeat. |
Hey @ma-hei , did you enable the module by running |
@ChrsMark I'm wondering if I missed something when setting up my dev environment. I followed the steps given here: https://www.elastic.co/guide/en/beats/devguide/7.6/beats-contributing.html |
@ma-hei as you noticed you should do all the operations in the |
@ChrsMark That works! Now another question. I see that the commit that implements the IBM MQ module comes with a docker-compose file. I can run this docker container and see a IBM MQ webserver starting up. Is this docker container supposed to be used for development purposes? |
@ma-hei this kind of containers are used by the automated tests. However you can use it for testing manually your changes, I do this from time to time ;). |
@ChrsMark Oh, I see. I have a general question regarding the IBM MQ metricbeat module. What is the relation between the Prometheus and the IBM MQ module? My current understanding is, that Prometheus is a metric format and the Metricbeats/Prometheus-module is capable of scrapping metrics from any kind of exporter that exports metrics in the Prometheus format. Isn't the |
Hey @ma-hei, this is a light module. Light modules can be seen as predefined configurations for generic metricsets as it is mentioned at this blogpost. You are right that you could achieve the same result only by using Prometheus module, but this would not be predefined so as many users can reuse any dashboards, field mappings etc. |
@ChrsMark Is there some documentation on how to run specific tests? In my PR, I'm seeing a build failure where it looks like the test in beats/x-pack/metricbeat/module/ibmmq/qmgr is failing. However, when running "go test" locally, inside that directory I'm getting |
Closed by #16971. |
After #15493 is closed/implemented we can refactor
ibmmq
light module introduced with #15301.We could change manifest file, tuning `defaults to look like:
cc: @mtojek
The text was updated successfully, but these errors were encountered: