Skip to content

Commit

Permalink
fix null instance id in trace
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrara committed May 17, 2024
1 parent 421e99d commit 6b65593
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 6b65593

Please sign in to comment.