fix(opentelemetry): add batch configuration for log processing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
ebeea26864
commit
ef0cf0fa87
@ -95,6 +95,7 @@ spec:
|
||||
- set(resource.attributes["body_json"]["kubernetes"]["namespace"], resource.attributes["k8s.namespace.name"])
|
||||
- set(log.body, String(merge_maps(ParseJSON(log.body), resource.attributes["body_json"], "upsert")))
|
||||
- delete_key(resource.attributes, "body_json")
|
||||
batch:
|
||||
send_batch_size: 5
|
||||
timeout: 10s
|
||||
exporters:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user