-
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
Transform processor cannot operate on body if it is a map #22068
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Related issue: #17396 |
Thanks for reporting this. I see two issues here:
I'll open PRs to address each of these. |
I do think we should stick to our indexing rules of slices and maps when using it on body. If body is a |
Fixing this isn't trivial, so I opened a new issue to track this: #22744. |
Component(s)
processor/transform
What happened?
Description
I would like to move attribute from body (which is a map) to the resource attributes
Here is my reproduction log file:
Steps to Reproduce
Run attached configuration
Expected Result
resource level attribute
level
is set toinfo
Actual Result
resource level attribute
level
is set to full bodyCollector version
v0.77.0
Environment information
Environment
Unrelated
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: