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

Add channel metrics #5116

Merged

Conversation

AlexandreYang
Copy link
Member

@AlexandreYang AlexandreYang commented Nov 28, 2019

What does this PR do?

Add channel metrics

Motivation

User request.

Additional Notes

Channel metrics where not submitted previously, so it's ok to rename them:
image

  1. Metrics defined in ibm_mq/datadog_checks/ibm_mq/metrics.py can be constants. That will be done in another PR.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@AlexandreYang AlexandreYang force-pushed the alex/ibm_mq/additional_queue_and_channel_metrics_2 branch from 4f9b0af to 730ef48 Compare November 29, 2019 12:32
@AlexandreYang AlexandreYang changed the title Add new metrics Add channel metrics Nov 29, 2019
'long_retry_count': pymqi.CMQCFC.MQIACH_LONG_RETRY,
'long_retry_interval': pymqi.CMQCFC.MQIACH_LONG_TIMER,
'long_retry': pymqi.CMQCFC.MQIACH_LONG_RETRY,
'long_timer': pymqi.CMQCFC.MQIACH_LONG_TIMER,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to reviewers: Channel metrics where not submitted previously, so it's ok to rename them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the originals are more descriptive

Copy link
Member Author

@AlexandreYang AlexandreYang Dec 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hithwen Most/all names match the name of the IBM MQ lib constant, should we keep that way for consistency?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that makes sense but is this a breaking change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hithwen My initial comment was this :)

Note to reviewers: Channel metrics where not submitted previously, so it's ok to rename them.

@AlexandreYang AlexandreYang force-pushed the alex/ibm_mq/additional_queue_and_channel_metrics_2 branch from 730ef48 to 731d264 Compare November 29, 2019 12:38
@AlexandreYang AlexandreYang merged commit 46c7c97 into master Dec 11, 2019
@AlexandreYang AlexandreYang deleted the alex/ibm_mq/additional_queue_and_channel_metrics_2 branch December 11, 2019 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants