fix(opentelemetry): simplify log transformation by removing unnecessary merge operation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
3daf27cb4d
commit
90b4b3bb9b
@ -61,7 +61,7 @@ spec:
|
|||||||
log_statements:
|
log_statements:
|
||||||
- context: log
|
- context: log
|
||||||
statements:
|
statements:
|
||||||
- set(body, merge_maps(body, body.attributes, true))
|
- set(body, body.attributes)
|
||||||
- delete_key(body, "attributes")
|
- delete_key(body, "attributes")
|
||||||
- delete_key(body, "resources")
|
- delete_key(body, "resources")
|
||||||
batch:
|
batch:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user