-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[mongodbatlasreceiver] Add baseURL config #39345
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
[mongodbatlasreceiver] Add baseURL config #39345
Conversation
…-collector-contrib into feat--Add-support-for-atlasgov
|
Please add a changelog by typing |
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.
Thanks for your contribution, @ArturSantosTD. I've left a few suggestions for your consideration.
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.
LGTM! @schmikei, your review would be appreciated. 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.
Thanks for the contribution!
My biggest suggestion is making baseURL defined as a default parameter rather than optional.
Please also apply @edmocosta's suggestions on error handling in tests.
…-collector-contrib into feat--Add-support-for-atlasgov
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.
Overall looks good to me just one more thing with the responsibility of Validate should not modify the underlying struct.
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.
LGTM
@schmikei please take another look when you get the chance so we can proceed with this one. |
Description
Adding a feature - On mongodbatlas receiver, allow the use of cloud.mongodbgov.com instead of only the default cloud.mongodb.com, adding a new config
Documentation
Update mongodbatlas documentation to reflect new config setting