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 hostname as part of the subscription substring #15189

Merged
merged 7 commits into from
Aug 16, 2023
Merged

Conversation

steveny91
Copy link
Contributor

@steveny91 steveny91 commented Jul 6, 2023

What does this PR do?

Tries to change the way we subscribe to an ibm mq instance. This will attach the hostname to the subscription, so that the name will be unique per host.

Motivation:

Escalation:
https://datadoghq.atlassian.net/browse/AGENT-9627

Customer sometimes uses multiple host with the same config to monitor ibm_mq instance. This could cause an issue when 2 host with the same config are trying to connect together, they'll get a 2429 error:
https://www.ibm.com/support/pages/multiple-instances-subscriber-same-clientid-are-receiving-reason-code-2429-mqrcsubscriptioninuse

This change aims at making the subscription name unique per host so that this doesn't happen.

@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Test Results

  2 files  2 suites   4m 21s ⏱️
  9 tests 8 ✔️ 1 💤 0
10 runs  8 ✔️ 2 💤 0

Results for commit 5ab7c93.

♻️ This comment has been updated with latest results.

@steveny91 steveny91 marked this pull request as ready for review July 6, 2023 19:57
@steveny91 steveny91 requested a review from a team as a code owner July 6, 2023 19:57
vivek-datadog
vivek-datadog previously approved these changes Jul 7, 2023
Copy link
Contributor

@vivek-datadog vivek-datadog left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #15189 (5ab7c93) into master (35ed029) will increase coverage by 0.00%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

Flag Coverage Δ
ibm_ace 91.89% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@FlorentClarret FlorentClarret left a comment

Choose a reason for hiding this comment

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

LGTM

Could you update the chanelog?

@steveny91 steveny91 merged commit 7a56ac9 into master Aug 16, 2023
27 checks passed
@steveny91 steveny91 deleted the sy/ibm_ace_sub branch August 16, 2023 16:04
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.

3 participants