-
Notifications
You must be signed in to change notification settings - Fork 1.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
Extract service.pipelines interface #6764
Conversation
dbc3603
to
7d2a1da
Compare
Codecov ReportBase: 90.67% // Head: 90.60% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #6764 +/- ##
==========================================
- Coverage 90.67% 90.60% -0.07%
==========================================
Files 241 242 +1
Lines 14525 14536 +11
==========================================
Hits 13171 13171
- Misses 1087 1098 +11
Partials 267 267
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. |
7d2a1da
to
6c72312
Compare
cc @bogdandrutu |
This PR establishes the "fork" between the current way of managing pipelines and the way of doing it via a graph that includes connectors. At the appropriate time, we can use a feature gate to toggle between the two implementations. |
6c72312
to
0443e51
Compare
Need rebase. |
0443e51
to
a24a76e
Compare
Hi Daniel & Bogdan! It would be very nice if we could add descriptions to these PRs |
08ebaec
to
98d41dd
Compare
This is rebased onto #6867 and ready to go otherwise. |
4ea69db
to
17c560f
Compare
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
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.
Looks promising, but what's up with the tests? It would be nice to have a few tests demonstrating the graph. For instance, in the look from the last to first after sorting the graph, I assume the exporters are all located towards the end of the slice, with processors next, and receivers first. This is something that could be exemplified (and proven) in the tests.
Yeah, test coverage is poor on this PR. I think things are covered quite thoroughly on #6700, but some lower level tests would be better here. For now, what do you think about me removing the implementations of |
4274247
to
8c4fd69
Compare
I've removed the implementations entirely, so now this is just adding the interface and a stub for the graph-based implementation. @open-telemetry/collector-approvers, please take a look. |
0dd840e
to
8d24226
Compare
8d24226
to
ad38f1f
Compare
@open-telemetry/collector-maintainers, I believe this is ready to merge. |
Subset of #6700