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 Apr 29, 2024
1 parent 040108c commit fe56259
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 fe56259

Please sign in to comment.