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

Add component node build methods #7026

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

djaglowski
Copy link
Member

Part of #6700

This PR continues with the bottom up approach started in #6895. It defines a build method for each node type. The receiver, processor, and exporter nodes are able to wrap the preexisting build<Type> functions from pipelines.go. The connector node has a fully new implementation since it will not be shared by the other pipelines implementation.

@djaglowski djaglowski added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 25, 2023
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 90.37% // Head: 90.01% // Decreases project coverage by -0.36% ⚠️

Coverage data is based on head (ee3f056) compared to base (9e4b354).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7026      +/-   ##
==========================================
- Coverage   90.37%   90.01%   -0.36%     
==========================================
  Files         243      243              
  Lines       14599    14657      +58     
==========================================
  Hits        13194    13194              
- Misses       1137     1195      +58     
  Partials      268      268              
Impacted Files Coverage Δ
service/nodes.go 4.49% <0.00%> (-8.41%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@djaglowski djaglowski marked this pull request as ready for review January 25, 2023 19:49
@djaglowski djaglowski requested review from a team and dmitryax January 25, 2023 19:49
@djaglowski djaglowski force-pushed the connectors-node-buiders branch from 61aac79 to ee3f056 Compare January 25, 2023 20:59
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM. Will this code be covered with tests as part of other PRs?

@djaglowski
Copy link
Member Author

LGTM. Will this code be covered with tests as part of other PRs?

Yes indeed. 👍

@bogdandrutu bogdandrutu merged commit 12c782d into open-telemetry:main Jan 26, 2023
@djaglowski djaglowski deleted the connectors-node-buiders branch January 26, 2023 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants