From 3daf27cb4dd7895a676d3fe40544c1f9519ebdcb Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 21 Apr 2025 14:46:52 +0800 Subject: [PATCH] fix(opentelemetry): enhance log transformation logic to include merging attributes Signed-off-by: zhenyus --- .../authentication/templates/authentication/opentelemetry.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index d2c1b483..f6303e96 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -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: