From ef0cf0fa87993b1928a0a61a6631fad77f14cb1e Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 21 Apr 2025 20:03:10 +0800 Subject: [PATCH] fix(opentelemetry): add batch configuration for log processing Signed-off-by: zhenyus --- .../authentication/templates/authentication/opentelemetry.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index f3660b61..5fcb620e 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -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: