-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Processor needs to know the source of its data/signal like type and instance of receiver. #35596
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
Comments
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
cmd/otelcontribcol
Is your feature request related to a problem? Please describe.
Lets say, I have multiple receiver instances of same receiver type in a single pipeline.
I need to add a processor which can add resource attribute like source-ip : 10.0.0.1. Is this possible today. I coudnt find a way in processor to figure out which receiver pushed the data/signals.
This is not just for mysql, I need to do it for other receivers as well. So I do not want to change receiver config to take in extra details. Is there some generic way to do it?
Describe the solution you'd like
It would be good if we have exact receiver name(including type/name) to be in context/scope for further processing in pipeline.
Describe alternatives you've considered
The possible way I could think of is using multiple pipelines each having only one receiver and add a separate attributes processor to add that attribute and then export it. Is there a better approach?
I cannot use instrumentation_scope.name as mentioned in the other issue #21466
Additional context
No response
The text was updated successfully, but these errors were encountered: