fix(opentelemetry): enhance log transformation logic to include merging attributes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
19626a44fa
commit
3daf27cb4d
@ -61,7 +61,7 @@ spec:
|
||||
log_statements:
|
||||
- context: log
|
||||
statements:
|
||||
- merge_maps(body, body.attributes)
|
||||
- set(body, merge_maps(body, body.attributes, true))
|
||||
- delete_key(body, "attributes")
|
||||
- delete_key(body, "resources")
|
||||
batch:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user