diff --git a/src/SkyApm.Core/Tracing/SegmentContextFactory.cs b/src/SkyApm.Core/Tracing/SegmentContextFactory.cs index dd10f3b4..b63e33d6 100644 --- a/src/SkyApm.Core/Tracing/SegmentContextFactory.cs +++ b/src/SkyApm.Core/Tracing/SegmentContextFactory.cs @@ -134,7 +134,7 @@ public SegmentContext CreateExitSegment(string operationName, StringOrIntValue n var parentReference = parentSegmentContext.References.FirstOrDefault(); var reference = new SegmentReference { - Reference = Reference.CrossThread, + Reference = Reference.CrossProcess, EntryEndpoint = parentReference?.EntryEndpoint ?? parentSegmentContext.Span.OperationName, NetworkAddress = parentReference?.NetworkAddress ?? parentSegmentContext.Span.OperationName, ParentEndpoint = parentSegmentContext.Span.OperationName, @@ -235,4 +235,4 @@ private SegmentContext GetParentSegmentContext(SpanType spanType) } } } -} \ No newline at end of file +}