-
Notifications
You must be signed in to change notification settings - Fork 2.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
[attributeprocessor] How to create a new span attribute from span's resource attribute #33279
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hello @bendanye, the transform processor should work here, using the span context. |
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 @crobert-1 sorry i did not specify more details but my current use case is that using aws otel collector which does not support transform so i am not able to use transform |
Unfortunately the attributes processor can only work on attributes, and the resource processor can only work on resource attributes, as far as I understand. I'm not aware of any other processor that can accomplish this. To be able to make progress, I'd suggest moving your request to the AWS distribution's repository for further discussion. I'm going to close as this repository provides the functionality you're looking for. 👍 |
Component(s)
processor/attributes
Describe the issue you're reporting
Hi there, i have a scenario where i need to create a new span attribute from a span's resource attribute. I understand that the from_attribute is only applicable only on span's attribute, not included span's resource attribute.
How can i create it?
The text was updated successfully, but these errors were encountered: