Modify resource attribute by value in span attibute #34261
Unanswered
jan-machacek-kosik
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to modify a resource attribute by using a value from spans attribute?
For example, I have spans.attributes["environment"] with the value "prod," and I want to add this value to resources.attributes["deployment.environment"].
Is there a way to do this in the Otel collector?
I tried to use the Transform processor, but if I understand correctly, there is no way to access values across different contexts.
Is there another processor that can do this?
Beta Was this translation helpful? Give feedback.
All reactions