fix(opentelemetry): simplify log transformation by removing unnecessary merge operation

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-21 14:49:20 +08:00
parent 3daf27cb4d
commit 90b4b3bb9b

View File

@ -61,7 +61,7 @@ spec:
log_statements:
- context: log
statements:
- set(body, merge_maps(body, body.attributes, true))
- set(body, body.attributes)
- delete_key(body, "attributes")
- delete_key(body, "resources")
batch: