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

[exporter/opensearch] chore: remove redundant config Validate call #35233

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

rogercoll
Copy link
Contributor

Description:

Configuration validation is done during collector's startup, making it redundant when being called inside component's logic. This PR removes the Validate call done during exporter's constructor.

Link to tracking Issue: #33498 (Last component, will close the issue)

Testing: Added default config use case (validate error)

Documentation:

@rogercoll
Copy link
Contributor Author

Skip changelog

@jpkrohling jpkrohling changed the title chore: remove redundant config Validate call [exporter/opensearch] chore: remove redundant config Validate call Sep 17, 2024
@jpkrohling jpkrohling requested review from Aneurysm9 and removed request for jpkrohling September 17, 2024 08:52
@jpkrohling
Copy link
Member

Not sure I was added as reviewer, the code owners for this are: @Aneurysm9 @MitchellGale @MaxKsyunz @YANG-DB

@YANG-DB
Copy link
Contributor

YANG-DB commented Sep 17, 2024

@rogercoll thanks for your contribution
We will review this as soon as we can

@rogercoll rogercoll requested a review from a team as a code owner September 26, 2024 15:05
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 11, 2024
@rogercoll
Copy link
Contributor Author

@YANG-DB Any update on this PR? I think its the only component missing in order to close #33498

@YANG-DB
Copy link
Contributor

YANG-DB commented Oct 11, 2024

@rogercoll
Thanks 👍 - I reviewed and approved

@github-actions github-actions bot removed the Stale label Oct 12, 2024
Copy link
Contributor

@VihasMakwana VihasMakwana left a comment

Choose a reason for hiding this comment

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

LGTM!
Can someone from @open-telemetry/collector-contrib-approvers take a look?

@MovieStoreGuy MovieStoreGuy added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 18, 2024
@MovieStoreGuy MovieStoreGuy merged commit d5c641a into open-telemetry:main Oct 18, 2024
167 of 168 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 18, 2024
@rogercoll rogercoll deleted the remove_validate branch October 18, 2024 06:00
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…pen-telemetry#35233)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Configuration validation is done during collector's startup, making it
redundant when being called inside component's logic. This PR removes
the Validate call done during exporter's constructor.

**Link to tracking Issue:** <Issue number if applicable>
open-telemetry#33498
(Last component, will close the issue)

**Testing:** <Describe what testing was performed and which tests were
added.> Added default config use case (validate error)

**Documentation:** <Describe the documentation added.>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/opensearch Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants