-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[receivercreator] add support for logs and traces #19641
[receivercreator] add support for logs and traces #19641
Conversation
2b9e10f
to
115ba9d
Compare
Having the receiver creator factory support logs is required, but you also need to connect to the instantiated receiver instances:
|
Thank you Ryan, I'll look into it. |
ed27967
to
1cc5772
Compare
More thinking required for this PR - @rmfitzpatrick will pick this up as I am at the end of my wits. |
1cc5772
to
63f22d6
Compare
I've updated this branch to also cover #19206 since the refactoring bit made it a trivial functional enhancement (but a bit more verbose on test changes). |
182a564
to
c64b719
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.
I would approve but I opened this PR :)
acb26bb
to
f519c23
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.
Just a couple of nits.
f519c23
to
1867504
Compare
8c29e21
to
f2edbcf
Compare
@codeboten mind taking another look when able? |
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.
This looks good, will need another rebase with some fixes, see my suggestions. Would be happy to get this merged once this is done
f2edbcf
to
999187e
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.
Just one more non-blocking comment. Thanks for addressing my other comments
999187e
to
8b33fd2
Compare
8b33fd2
to
723cbaf
Compare
@atoulme can you please rebase? |
723cbaf
to
eb1988a
Compare
If you use the receiver creator in multiple pipelines of differing telemetry types, | ||
but a given dynamically instantiated receiver doesn't support one of the pipeline's type, | ||
it will effectively lead to a logged no-op that won't cause a collector service failure. |
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.
@dmitryax Could you provide an example of this?
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.
If you use the receiver creator in multiple pipelines of differing telemetry types, | |
but a given dynamically instantiated receiver doesn't support one of the pipeline's type, | |
it will effectively lead to a logged no-op that won't cause a collector service failure. | |
> Note: When using receiver creator in multiple pipelines with different telemetry types, the Collector might crash if one of the receivers doesn't support a pipeline type. Make sure the instantiated receivers can support the pipeline type. |
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.
@rmfitzpatrick is probably better placed to comment, but I think you misunderstood what is documented there. Anyway, happy to clarify in a separate issue: #23014
Description:
Add support for logs and traces with receivercreator component
Link to tracking Issue:
Fixes #19205
Testing:
Unit tests
Documentation:
Added to README.