public static void Continued(IContextSnapshot snapshot, string activityId) { if (snapshot.IsValid && !snapshot.IsFromCurrent) { Context?.Continued(snapshot, activityId); } }
public TraceSegmentRef(IContextSnapshot contextSnapshot) { _type = SegmentRefType.CrossThread; _traceSegmentId = contextSnapshot.TraceSegmentId; _spanId = contextSnapshot.SpanId; _parentApplicationInstanceId = RuntimeEnvironment.Instance.ApplicationInstanceId.Value; _entryApplicationInstanceId = contextSnapshot.EntryApplicationInstanceId; string entryOperationName = contextSnapshot.EntryOperationName; if (entryOperationName.First() == '#') { _entryOperationName = entryOperationName.Substring(1); } else { int.TryParse(entryOperationName, out _entryOperationId); } string parentOperationName = contextSnapshot.EntryOperationName; if (parentOperationName.First() == '#') { _parentOperationName = parentOperationName.Substring(1); } else { int.TryParse(parentOperationName, out _parentOperationId); } }
public static void Continued(IContextSnapshot snapshot) { if (snapshot.IsValid && !snapshot.IsFromCurrent) { Context?.Continued(snapshot); } }
public void Continued(IContextSnapshot snapshot) { var segmentRef = new TraceSegmentRef(snapshot); _segment.Ref(segmentRef); ActiveSpan.Ref(segmentRef); _segment.RelatedGlobalTrace(snapshot.DistributedTraceId); }
public void Continued(IContextSnapshot snapshot, string activityId) { var segmentRef = new TraceSegmentRef(snapshot); _segment.Ref(segmentRef); InternalActiveSpan(activityId).Ref(segmentRef); _segment.RelatedGlobalTrace(snapshot.DistributedTraceId); }
public void Continued(IContextSnapshot snapshot, string activityId) { }
public void Continued(IContextSnapshot snapshot) { }