From 6b6559316315680e113eb47bbc3e88e6625038e4 Mon Sep 17 00:00:00 2001 From: Mengyi Zhou Date: Fri, 26 Apr 2024 15:04:43 -0700 Subject: [PATCH] fix null instance id in trace --- .../internal/normalizer/attributesnormalizer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/processors/awsapplicationsignals/internal/normalizer/attributesnormalizer.go b/plugins/processors/awsapplicationsignals/internal/normalizer/attributesnormalizer.go index fa19c75b29..dd08d63f44 100644 --- a/plugins/processors/awsapplicationsignals/internal/normalizer/attributesnormalizer.go +++ b/plugins/processors/awsapplicationsignals/internal/normalizer/attributesnormalizer.go @@ -183,7 +183,6 @@ func rename(attrs pcommon.Map, renameMap map[string]string) { // only rename host.id if the pod name is set if host, ok := attrs.Get("host.id"); ok { attrs.PutStr("K8s.Node", host.AsString()) - attrs.Remove("host.id") } } }