Home
last modified time | relevance | path

Searched refs:fromSpanContext (Results 1 – 11 of 11) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DLinkTest.java49 Link link = Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN); in fromSpanContext_ChildLink()
57 Link link = Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN, attributesMap); in fromSpanContext_ChildLink_WithAttributes()
66 Link link = Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN); in fromSpanContext_ParentLink()
74 Link link = Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN, attributesMap); in fromSpanContext_ParentLink_WithAttributes()
86 Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN), in link_EqualsAndHashCode()
87 Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN)) in link_EqualsAndHashCode()
89 Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN), in link_EqualsAndHashCode()
90 Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN)) in link_EqualsAndHashCode()
91 .addEqualityGroup(Link.fromSpanContext(SpanContext.INVALID, Type.CHILD_LINKED_SPAN)) in link_EqualsAndHashCode()
92 .addEqualityGroup(Link.fromSpanContext(SpanContext.INVALID, Type.PARENT_LINKED_SPAN)) in link_EqualsAndHashCode()
[all …]
DBlankSpanTest.java58 Link.fromSpanContext(SpanContext.INVALID, Link.Type.CHILD_LINKED_SPAN)); in doNotCrash()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DLink.java69 public static Link fromSpanContext(SpanContext context, Type type) { in fromSpanContext() method in Link
82 public static Link fromSpanContext( in fromSpanContext() method in Link
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java152 Link childLink = Link.fromSpanContext(span.getContext(), Type.CHILD_LINKED_SPAN); in linkSpans()
155 span.addLink(Link.fromSpanContext(linkedSpan.getContext(), Type.PARENT_LINKED_SPAN)); in linkSpans()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DNoRecordEventsSpanImplTest.java86 Link.fromSpanContext(SpanContext.INVALID, Link.Type.CHILD_LINKED_SPAN)); in doNotCrash()
DRecordEventsSpanImplTest.java108 span.addLink(Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN)); in noEventsRecordedAfterEnd()
165 Link link = Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN); in toSpanData_ActiveSpan()
223 Link link = Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN); in toSpanData_EndedSpan()
510 Link link = Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN); in droppingLinks()
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DRecordTraceEventsBenchmark.java119 Link.fromSpanContext(data.linkedSpan.getContext(), Link.Type.PARENT_LINKED_SPAN)); in addLink()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerTest.java167 Link.fromSpanContext( in sampleLinks()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/
DSpanDataTest.java105 linksList.add(Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN)); in setUp()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java120 ImmutableList.of(Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN));
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerProtoTest.java118 ImmutableList.of(Link.fromSpanContext(spanContext, Link.Type.CHILD_LINKED_SPAN));