/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | TraceOptionsTest.java | 36 assertThat(TraceOptions.builder().setIsSampled(false).build().getOptions()).isEqualTo(0); in getOptions() 37 assertThat(TraceOptions.builder().setIsSampled(true).build().getOptions()).isEqualTo(1); in getOptions() 38 assertThat(TraceOptions.builder().setIsSampled(true).setIsSampled(false).build().getOptions()) in getOptions() 48 assertThat(TraceOptions.builder().setIsSampled(true).build().isSampled()).isTrue(); in isSampled() 76 .setIsSampled(true) in builder_FromOptions() 87 TraceOptions.fromByte(SECOND_BYTE), TraceOptions.builder().setIsSampled(true).build()); in traceOptions_EqualsAndHashCode() 95 assertThat(TraceOptions.builder().setIsSampled(true).build().toString()) in traceOptions_ToString()
|
D | SpanContextTest.java | 47 TraceOptions.builder().setIsSampled(true).build(), 90 .isEqualTo(TraceOptions.builder().setIsSampled(true).build()); in getTraceOptions() 111 TraceOptions.builder().setIsSampled(false).build(), in spanContext_EqualsAndHashCode() 118 TraceOptions.builder().setIsSampled(true).build(), in spanContext_EqualsAndHashCode() 131 .contains(TraceOptions.builder().setIsSampled(true).build().toString()); in spanContext_ToString()
|
D | SpanTest.java | 48 TraceOptions.builder().setIsSampled(true).build()); in setUp()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancerTest.java | 69 TraceOptions.builder().setIsSampled(true).build(), in enhanceLogEntry_DoNotAddSampledSpanToLogEntryWithNoSpans() 83 TraceOptions.builder().setIsSampled(true).build(), in enhanceLogEntry_AddSampledSpanToLogEntryWithSampledSpans() 100 TraceOptions.builder().setIsSampled(true).build(), in enhanceLogEntry_AddSampledSpanToLogEntryWithAllSpans() 117 TraceOptions.builder().setIsSampled(false).build(), in enhanceLogEntry_DoNotAddNonSampledSpanToLogEntryWithNoSpans() 131 TraceOptions.builder().setIsSampled(false).build(), in enhanceLogEntry_DoNotAddNonSampledSpanToLogEntryWithSampledSpans() 145 TraceOptions.builder().setIsSampled(false).build(), in enhanceLogEntry_AddNonSampledSpanToLogEntryWithAllSpans() 174 TraceOptions.builder().setIsSampled(true).build(), in enhanceLogEntry_ConvertNullProjectIdToEmptyString()
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | OpenCensusLog4jLogCorrelationAllSpansTest.java | 56 TraceOptions.builder().setIsSampled(true).build(), in addSampledSpanToLogEntryWithAllSpans() 79 TraceOptions.builder().setIsSampled(false).build(), in addNonSampledSpanToLogEntryWithAllSpans() 121 TraceOptions.builder().setIsSampled(true).build(), in preserveOtherKeyValuePairs() 147 TraceOptions.builder().setIsSampled(true).build(), in overwriteExistingTracingKey()
|
D | OpenCensusLog4jLogCorrelationSampledSpansTest.java | 55 TraceOptions.builder().setIsSampled(true).build(), in addSampledSpanToLogEntryWithSampledSpans() 78 TraceOptions.builder().setIsSampled(false).build(), in doNotAddNonSampledSpanToLogEntryWithSampledSpans()
|
D | OpenCensusLog4jLogCorrelationNoSpansTest.java | 55 TraceOptions.builder().setIsSampled(true).build(), in doNotAddSampledSpanToLogEntryWithNoSpans() 75 TraceOptions.builder().setIsSampled(false).build(), in doNotAddNonSampledSpanToLogEntryWithNoSpans()
|
D | OpenCensusTraceContextDataInjectorTest.java | 159 TraceOptions.builder().setIsSampled(true).build(), in rawContextDataWithTracingData() 192 TraceOptions.builder().setIsSampled(true).build(), in rawContextDataWithoutTracingData()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | TraceOptions.java | 239 public Builder setIsSampled() { in setIsSampled() method in TraceOptions.Builder 240 return setIsSampled(true); in setIsSampled() 250 public Builder setIsSampled(boolean isSampled) { in setIsSampled() method in TraceOptions.Builder
|
/external/opencensus-java/exporters/trace/zipkin/src/test/java/io/opencensus/exporter/trace/zipkin/ |
D | ZipkinExporterHandlerTest.java | 75 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_NoKindAndRemoteParent() 116 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_ServerKind() 157 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_ClientKind() 202 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_WithAttributes()
|
/external/opencensus-java/exporters/trace/instana/src/test/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandlerTest.java | 72 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_NoKindAndRemoteParent() 110 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_ServerKind() 148 TraceOptions.builder().setIsSampled(true).build()), in generateSpan_ClientKind()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpan.java | 45 TraceOptions.builder().setIsSampled(true).build(); 47 TraceOptions.builder().setIsSampled(false).build();
|
/external/opencensus-java/contrib/appengine_standard_util/src/test/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtilsTest.java | 73 TraceOptions.builder().setIsSampled(true).build())); in toFromSampledCloudTraceContext() 121 TraceOptions.builder().setIsSampled(false).build())); in toFromNotSampledCloudTraceContext()
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandlerTest.java | 134 TraceOptions.builder().setIsSampled(true).build()); in sampleSpanContext() 172 TraceOptions.builder().setIsSampled(false).build()), in sampleLinks()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImpl.java | 47 TraceOptions.builder().setIsSampled(true).build(); 49 TraceOptions.builder().setIsSampled(false).build();
|
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtils.java | 69 TraceOptions.builder().setIsSampled(cloudTraceContext.isTraceEnabled()).build(), in fromCloudTraceContext()
|
/external/opencensus-java/impl_core/src/jmh/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImplBenchmark.java | 53 TraceOptions.builder().setIsSampled(random.nextBoolean()).build(), in setup()
|
D | B3FormatImplBenchmark.java | 57 TraceOptions.builder().setIsSampled(random.nextBoolean()).build(), in setup()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | B3Format.java | 106 traceOptions = TraceOptions.builder().setIsSampled(true).build(); in extract()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormat.java | 73 static final TraceOptions OPTIONS_SAMPLED = TraceOptions.builder().setIsSampled(true).build();
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImplTest.java | 66 SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.builder().setIsSampled(true).build())); in propagate_SpanContextTracingEnabled()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 47 SpanContext.create(traceId, parentSpanId, TraceOptions.builder().setIsSampled(true).build());
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/ |
D | SpanExporterImplTest.java | 56 TraceOptions.builder().setIsSampled(true).build());
|
D | InProcessSampledSpanStoreImplTest.java | 62 TraceOptions.builder().setIsSampled(true).build());
|
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormatTest.java | 73 TraceOptions.builder().setIsSampled(true).build();
|