Searched refs:childSpan (Results 1 – 2 of 2) sorted by relevance
160 Span childSpan = in startChildSpan() local162 assertThat(childSpan.getContext().isValid()).isTrue(); in startChildSpan()163 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startChildSpan()164 assertThat(((RecordEventsSpanImpl) childSpan).toSpanData().getParentSpanId()) in startChildSpan()166 assertThat(((RecordEventsSpanImpl) childSpan).toSpanData().getHasRemoteParent()).isFalse(); in startChildSpan()167 assertThat(((RecordEventsSpanImpl) childSpan).getTimestampConverter()) in startChildSpan()250 Span childSpan = in startRemoteChildSpan_WithSpecifiedSampler() local254 assertThat(childSpan.getContext().isValid()).isTrue(); in startRemoteChildSpan_WithSpecifiedSampler()255 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startRemoteChildSpan_WithSpecifiedSampler()256 assertThat(childSpan.getContext().getTraceOptions().isSampled()).isFalse(); in startRemoteChildSpan_WithSpecifiedSampler()[all …]
38 Span childSpan = tracer.spanBuilderWithExplicitParent("MyChildSpan", rootSpan).startSpan(); in doWork() local39 childSpan.addAnnotation("Annotation to the child Span"); in doWork()40 childSpan.end(); in doWork()