diff --git a/exporter/awsxrayexporter/internal/translator/segment.go b/exporter/awsxrayexporter/internal/translator/segment.go index 9e9222e1ec0d..5bae164a639d 100644 --- a/exporter/awsxrayexporter/internal/translator/segment.go +++ b/exporter/awsxrayexporter/internal/translator/segment.go @@ -140,11 +140,6 @@ func MakeDependencySubsegmentForLocalRootDependencySpan(span ptrace.Span, resour return nil, err } - // Set the name - if myAwsRemoteService, ok := span.Attributes().Get(awsRemoteService); ok { - dependencySubsegment.Name = awsxray.String(myAwsRemoteService.Str()) - } - // Make this a subsegment dependencySubsegment.Type = awsxray.String("subsegment")