-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Conversation
Skip changelog |
Not sure I was added as reviewer, the code owners for this are: @Aneurysm9 @MitchellGale @MaxKsyunz @YANG-DB |
@rogercoll thanks for your contribution |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@rogercoll |
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!
Can someone from @open-telemetry/collector-contrib-approvers take a look?
…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.>
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: