-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
IBM MQ metadata #6979
IBM MQ metadata #6979
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a big drawback using a shell command, it only works if the agent is running on the MQ Server itself. We should try to get the version via PCF command instead :)
Codecov Report
|
I changed up the method of collection to what @AlexandreYang suggested, update the metadata collection test. Please let me know if anything needs changing. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thx for using PCF command instead. I left few comments. :)
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
ibm_mq/datadog_checks/ibm_mq/collectors/queue_metric_collector.py
Outdated
Show resolved
Hide resolved
@AlexandreYang I've updated the check with most of your comments. The only one I left out was the dependency upgrade of pymqi to 1.11.1. For whatever reason, upgrading to 1.11.1 breaks the py2 tests. I get this error when stepping through:
Not sure if you've come across this error before. |
0caf7b3
to
58737ce
Compare
5cbecf6
to
ff7780a
Compare
2edc93a
to
04df8a4
Compare
df61e36
to
e3e99cc
Compare
* Added version metadata collection Co-authored-by: Julia Simon <611228+hithwen@users.noreply.github.com> 1b6259e
What does this PR do?
This PR attempts to add the functionality to have the check pick up the version of the IBM MQ server.
Motivation
Assigned as a embed task
Additional Notes
N/A
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached