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

[chore] Move newNodeSharedInformer to a common/shared pkg #32591

Merged
merged 9 commits into from
Apr 29, 2024

Conversation

ChrsMark
Copy link
Member

Description:

This PR implements some basic refactoring required for #32295.
Doing this in a standalone PR was requested at #32295 (comment).

The change moves a library method called newNodeSharedInformer from the k8sattributes processor package to a generic one since it can be re-used by multiple various components.

Note: I'm not sure if a changelog is required for this change, so I left it out for now.

Link to tracking Issue:

Testing:

Documentation:

@ChrsMark
Copy link
Member Author

I'm not sure if the failure is related or it is some "flakiness" 🤔 .
Locally the test passes:

PASS
ok  	github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer	15.464s

@ChrsMark
Copy link
Member Author

@open-telemetry/collector-contrib-approvers any change I could get more eyes on this please?
This one is required to unblock #32295.

@mx-psi mx-psi merged commit 3f64154 into open-telemetry:main Apr 29, 2024
170 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 29, 2024
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
…etry#32591)

**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.-->
This PR implements some basic refactoring required for
open-telemetry#32295.
Doing this in a standalone PR was requested at
open-telemetry#32295 (comment).

The change moves a library method called `newNodeSharedInformer` from
the `k8sattributes` processor package to a generic one since it can be
re-used by multiple various components.

Note: I'm not sure if a changelog is required for this change, so I left
it out for now.

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>

Signed-off-by: ChrsMark <[email protected]>
Co-authored-by: Tyler Helmuth <[email protected]>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
…etry#32591)

**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.-->
This PR implements some basic refactoring required for
open-telemetry#32295.
Doing this in a standalone PR was requested at
open-telemetry#32295 (comment).

The change moves a library method called `newNodeSharedInformer` from
the `k8sattributes` processor package to a generic one since it can be
re-used by multiple various components.

Note: I'm not sure if a changelog is required for this change, so I left
it out for now.

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>

Signed-off-by: ChrsMark <[email protected]>
Co-authored-by: Tyler Helmuth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants