-
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
MongoDB metricsets incorrectly handling multiple hosts #32188
Comments
The issue is fixed in PR : #34624. Fix Details:
|
During testing, some issues were identified with the fix. As a result, I have made modifications the fix. Currently, the fix is undergoing testing and review. |
Can we elaborate the issues identified @ritalwar ? |
Findings:
Options Considered:
Proposed Actions:
Status: |
Please refer the link to the refactoring issue: #35502 |
Metricsets of the MongoDB module are doing their own parsing of the
hosts
setting (here), and using the result to configure the MongoDB client (here).Usually, hosts parsing is done by the module, and individual metricsets should use the host data in the base metric set. This was also being done in this module at least till 8.2 (here).
The new approach produces failures when multiple hosts are used:
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: