-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New Opentelemetry Processor request or suggestion #28875
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Pinging code owners for processor/transform: @TylerHelmuth @kentquirk @bogdandrutu @evan-bradley. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hello @kaarthick82, I believe the transform processor may be able to accomplish this. I'm not sure if it's able to compare attribute values across spans within the same trace, but I'll defer to the code owners who have more information here. |
The transform processor is Stateless, which means it cannot be made to remember information between events. I do not believe there is a processor in Contrib to do what you're requesting. The closest component would be the Tail Sampling processor. |
@TylerHelmuth Thank you for your guidance. I will take this up with Tail sampling processor. |
Pinging code owners for processor/tailsampling: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
If I'm understanding this correctly, the tail-sampling processor can't do this either. If OTTL had a way to run queries within a specific batch, you could use the groupbytrace processor, followed by the transform processor. Would you mind giving us a concrete example of what you are trying to accomplish? Perhaps we can think of another solution? |
Hi @jpkrohling , sorry for the delay. |
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 Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
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 Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think this is such a custom behavior that it would make sense to build your own processor and get it on a custom collector distribution. |
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 Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
processor/attributes
Is your feature request related to a problem? Please describe.
Hello,
We are looking for a processor to verify some attributes in the trace event and compare with other spans of the same trace then insert a new attribute in the trace events.
Currently using "attributes" processor to insert some field. However there should be an option to add some condition to get attribute value from one trace event and the extracted attribute value should be compared / validated against other span in the same trace ( to compare the value in the event which has same trace id).
Do we have possibilities to add condition which can extract the dynamic value of an attribute from a trace/span and compare the value in the other span to insert new attributes based on the result.
Please let me know if any clarifications.
Thank you.
K Karthick
Describe the solution you'd like
extend the attributes processor to create conditions, to compare the event attributes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: