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][graph] Decompose buildConnector #11330

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

djaglowski
Copy link
Member

The primary goal here was to delegate from each switch case, rather than nest logic as deep as necessary.

Copy link

codecov bot commented Oct 1, 2024

Codecov Report

Attention: Patch coverage is 75.91241% with 33 lines in your changes missing coverage. Please review.

Project coverage is 91.51%. Comparing base (a24f914) to head (012c912).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
service/internal/graph/connector.go 75.91% 17 Missing and 16 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11330   +/-   ##
=======================================
  Coverage   91.50%   91.51%           
=======================================
  Files         430      430           
  Lines       20209    20226   +17     
=======================================
+ Hits        18493    18509   +16     
- Misses       1341     1342    +1     
  Partials      375      375           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@djaglowski djaglowski force-pushed the sub-graph branch 2 times, most recently from 6362c10 to df331d8 Compare October 1, 2024 21:44
@djaglowski djaglowski marked this pull request as ready for review October 2, 2024 00:17
@djaglowski djaglowski requested a review from a team as a code owner October 2, 2024 00:17
@djaglowski djaglowski requested a review from codeboten October 2, 2024 00:17
@bogdandrutu bogdandrutu merged commit 4ace638 into open-telemetry:main Oct 2, 2024
48 of 49 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 2, 2024
@djaglowski djaglowski deleted the sub-graph branch October 2, 2024 17:35
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
The primary goal here was to delegate from each switch case, rather than
nest logic as deep as necessary.
bogdandrutu pushed a commit that referenced this pull request Oct 9, 2024
Follows #11330

Currently, `connectorNode` contains separate `component.Component` and
`baseConsumer` fields. These fields are essentially two representations
of the same component, but `baseConsumer` may be wrapped in another
consumer that inherits capabilities. Rather than maintain two separate
handles, this PR switches to a unified field. I believe this change
helps normalize the connector node with other types of consumer nodes
and will enable further refactoring opportunities.
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
The primary goal here was to delegate from each switch case, rather than
nest logic as deep as necessary.
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
…emetry#11333)

Follows open-telemetry#11330

Currently, `connectorNode` contains separate `component.Component` and
`baseConsumer` fields. These fields are essentially two representations
of the same component, but `baseConsumer` may be wrapped in another
consumer that inherits capabilities. Rather than maintain two separate
handles, this PR switches to a unified field. I believe this change
helps normalize the connector node with other types of consumer nodes
and will enable further refactoring opportunities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants