Home
last modified time | relevance | path

Searched refs:parentLinks (Results 1 – 8 of 8) sorted by relevance

/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java56 private List<Span> parentLinks = Collections.<Span>emptyList(); field in SpanBuilderImpl
65 List<Span> parentLinks, in startSpanInternal() argument
93 parentLinks, in startSpanInternal()
113 linkSpans(span, parentLinks); in startSpanInternal()
122 List<Span> parentLinks, in makeSamplingDecision() argument
128 return sampler.shouldSample(parent, hasRemoteParent, traceId, spanId, name, parentLinks); in makeSamplingDecision()
135 .shouldSample(parent, hasRemoteParent, traceId, spanId, name, parentLinks); in makeSamplingDecision()
138 return parent.getTraceOptions().isSampled() || isAnyParentLinkSampled(parentLinks); in makeSamplingDecision()
141 private static boolean isAnyParentLinkSampled(List<Span> parentLinks) { in isAnyParentLinkSampled() argument
142 for (Span parentLink : parentLinks) { in isAnyParentLinkSampled()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/
DProbabilitySampler.java80 @Nullable List<Span> parentLinks) { in shouldSample() argument
85 if (parentLinks != null) { in shouldSample()
87 for (Span parentLink : parentLinks) { in shouldSample()
DNeverSampleSampler.java42 List<Span> parentLinks) { in shouldSample() argument
DAlwaysSampleSampler.java42 List<Span> parentLinks) { in shouldSample() argument
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpanBuilder.java130 public abstract SpanBuilder setParentLinks(List<Span> parentLinks); in setParentLinks() argument
338 public SpanBuilder setParentLinks(List<Span> parentLinks) { in setParentLinks() argument
DSampler.java49 List<Span> parentLinks); in shouldSample() argument
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java127 Sampler sampler, SpanContext parent, List<Span> parentLinks, double probability) { in assertSamplerSamplesWithProbability() argument
137 parentLinks)) { in assertSamplerSamplesWithProbability()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java376 public SpanBuilder setParentLinks(List<Span> parentLinks) {