Skip to content

[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

Merged

Conversation

ArturSantosTD
Copy link
Contributor

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

@ArturSantosTD ArturSantosTD requested a review from a team as a code owner April 11, 2025 16:34
@ArturSantosTD ArturSantosTD requested a review from ChrsMark April 11, 2025 16:34
Copy link

linux-foundation-easycla bot commented Apr 11, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@atoulme
Copy link
Contributor

atoulme commented Apr 11, 2025

Please add a changelog by typing make chlog-new and following the prompts.

Copy link
Contributor

@edmocosta edmocosta left a 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.

@ArturSantosTD ArturSantosTD requested a review from edmocosta April 14, 2025 16:53
Copy link
Contributor

@edmocosta edmocosta left a 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!

Copy link
Contributor

@schmikei schmikei left a 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.

@ArturSantosTD ArturSantosTD requested a review from schmikei April 18, 2025 04:15
Copy link
Contributor

@schmikei schmikei left a 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.

Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

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

LGTM

@ChrsMark
Copy link
Member

@schmikei please take another look when you get the chance so we can proceed with this one.

@edmocosta edmocosta added ready to merge Code review completed; ready to merge by maintainers and removed waiting-for-code-owners labels May 5, 2025
@edmocosta edmocosta changed the title add baseURL config [mongodbatlasreceiver] Add baseURL config May 5, 2025
@atoulme atoulme merged commit d0dc8b2 into open-telemetry:main May 5, 2025
190 of 191 checks passed
@github-actions github-actions bot added this to the next release milestone May 5, 2025
@mx-psi mx-psi mentioned this pull request May 6, 2025
mx-psi added a commit that referenced this pull request May 6, 2025
- **[receiver/prometheus] Upgrade
receiver.prometheus.removeLegacyResourceAttributes feature flag
(#39803)**
- **Feature/update library versions (#39848)**
- **metricstarttimeprocessor: Implementation of the subtractinitial
strategy (#38594)**
- **[mongodbatlasreceiver] Add baseURL config (#39345)**
- **[receiver/splunkenterprise] Unexport InfoEntry and InfoContent
(#39830)**
- **[pkg/ottl] Add support for HasPrefix and HasSuffix (#39825)**
- **[receiver/snowflakereceiver] fix(security): CVE-2025-46327 :
Upgraded gosnowflake to v1.13.3 (#39862)**
- **[pkg/winperfcounters] Add support to retrieve raw values (#39835)**
- **Update All github.com/aws packages (#39867)**
- **use a single version**

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Ridwan Sharif <[email protected]>
Signed-off-by: Bogdan Drutu <[email protected]>
Co-authored-by: Curtis Robert <[email protected]>
Co-authored-by: Ramachandran A G <[email protected]>
Co-authored-by: Antoine Toulme <[email protected]>
Co-authored-by: Ridwan Sharif <[email protected]>
Co-authored-by: Artur Santos <[email protected]>
Co-authored-by: Christos Markou <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Drutu <[email protected]>
Co-authored-by: Paulo Janotti <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
vincentfree pushed a commit to ing-bank/opentelemetry-collector-contrib that referenced this pull request May 6, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### 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

<!--Describe the documentation added.-->
#### Documentation

Update mongodbatlas documentation to reflect new config setting

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Christos Markou <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
vincentfree pushed a commit to ing-bank/opentelemetry-collector-contrib that referenced this pull request May 20, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### 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

<!--Describe the documentation added.-->
#### Documentation

Update mongodbatlas documentation to reflect new config setting

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Christos Markou <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### 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

<!--Describe the documentation added.-->
#### Documentation

Update mongodbatlas documentation to reflect new config setting

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Christos Markou <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers receiver/mongodbatlas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants