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 6, 2024
1 parent 8bb39c7 commit 1885a95
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 1885a95

Please sign in to comment.