Searched refs:parentLinks (Results 1 – 8 of 8) sorted by relevance
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImpl.java | 56 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/ |
D | ProbabilitySampler.java | 80 @Nullable List<Span> parentLinks) { in shouldSample() argument 85 if (parentLinks != null) { in shouldSample() 87 for (Span parentLink : parentLinks) { in shouldSample()
|
D | NeverSampleSampler.java | 42 List<Span> parentLinks) { in shouldSample() argument
|
D | AlwaysSampleSampler.java | 42 List<Span> parentLinks) { in shouldSample() argument
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | SpanBuilder.java | 130 public abstract SpanBuilder setParentLinks(List<Span> parentLinks); in setParentLinks() argument 338 public SpanBuilder setParentLinks(List<Span> parentLinks) { in setParentLinks() argument
|
D | Sampler.java | 49 List<Span> parentLinks); in shouldSample() argument
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 127 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/ |
D | StatsTestUtils.java | 376 public SpanBuilder setParentLinks(List<Span> parentLinks) {
|