Skip to content

Commit

Permalink
Fixing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
atshaw43 committed Oct 4, 2023
1 parent d36390a commit 6f9429b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/awsxrayexporter/internal/translator/segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ func MakeSegmentDocuments(span ptrace.Span, resource pcommon.Resource, indexedAt
return nil, err
}

// HasDependencySubsegment We will move to using isRemote once the collector supports deserializing it. Until then, we will rely on aws.span.kind.
func HasDependencySubsegment(span ptrace.Span) bool {
return (span.Kind() != ptrace.SpanKindServer) && (span.Kind() != ptrace.SpanKindInternal)
}

// IsLocalRoot We will move to using isRemote once the collector supports deserializing it. Until then, we will rely on aws.span.kind.
func IsLocalRoot(span ptrace.Span) bool {
if myAwsSpanKind, ok := span.Attributes().Get(awsSpanKind); ok {
if localRoot == myAwsSpanKind.Str() {
Expand Down

0 comments on commit 6f9429b

Please sign in to comment.