/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | EndSpanOptionsTest.java | 31 assertThat(EndSpanOptions.DEFAULT.getStatus()).isNull(); in endSpanOptions_DefaultOptions() 32 assertThat(EndSpanOptions.DEFAULT.getSampleToLocalSpanStore()).isFalse(); in endSpanOptions_DefaultOptions() 37 EndSpanOptions endSpanOptions = EndSpanOptions.builder().setStatus(Status.OK).build(); in setStatus_Ok() 43 EndSpanOptions endSpanOptions = in setStatus_Error() 44 EndSpanOptions.builder() in setStatus_Error() 53 EndSpanOptions endSpanOptions = in setSampleToLocalSpanStore() 54 EndSpanOptions.builder().setSampleToLocalSpanStore(true).build(); in setSampleToLocalSpanStore() 62 EndSpanOptions.builder() in endSpanOptions_EqualsAndHashCode() 65 EndSpanOptions.builder() in endSpanOptions_EqualsAndHashCode() 68 tester.addEqualityGroup(EndSpanOptions.builder().build(), EndSpanOptions.DEFAULT); in endSpanOptions_EqualsAndHashCode() [all …]
|
D | CurrentSpanUtilsTest.java | 110 verify(span).end(same(EndSpanOptions.DEFAULT)); in withSpan_CloseDetachesAndEndsSpan() 141 verify(span).end(EndSpanOptions.DEFAULT); in withSpanRunnable_EndSpan() 160 verify(span).end(EndSpanOptions.DEFAULT); in withSpanRunnable_WithError() 179 verify(span).end(EndSpanOptions.DEFAULT); in withSpanRunnable_WithErrorNoMessage() 215 verify(span).end(EndSpanOptions.DEFAULT); in withSpanCallable_EndSpan() 234 verify(span).end(EndSpanOptions.DEFAULT); in withSpanCallable_WithException() 253 verify(span).end(EndSpanOptions.DEFAULT); in withSpanCallable_WithExceptionNoMessage() 272 verify(span).end(EndSpanOptions.DEFAULT); in withSpanCallable_WithError() 291 verify(span).end(EndSpanOptions.DEFAULT); in withSpanCallable_WithErrorNoMessage()
|
D | SpanBuilderTest.java | 59 verify(span).end(EndSpanOptions.DEFAULT); in startScopedSpan() 73 verify(span).end(EndSpanOptions.DEFAULT); in startSpanAndRun() 91 verify(span).end(EndSpanOptions.DEFAULT); in startSpanAndCall()
|
D | NoopSpan.java | 66 public void end(EndSpanOptions options) { in end()
|
D | BlankSpanTest.java | 60 BlankSpan.INSTANCE.end(EndSpanOptions.DEFAULT); in doNotCrash()
|
D | SpanTest.java | 99 verify(span).end(same(EndSpanOptions.DEFAULT)); in endCallsEndWithDefaultOptions()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | EndSpanOptions.java | 33 public abstract class EndSpanOptions { class 39 public static final EndSpanOptions DEFAULT = builder().build(); 121 public abstract EndSpanOptions build(); in build() 126 EndSpanOptions() {} in EndSpanOptions() method in EndSpanOptions
|
D | Span.java | 233 public abstract void end(EndSpanOptions options); in end() 244 end(EndSpanOptions.DEFAULT); in end()
|
D | BlankSpan.java | 94 public void end(EndSpanOptions options) { in end()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/ |
D | InProcessSampledSpanStoreImplTest.java | 27 import io.opencensus.trace.EndSpanOptions; 137 sampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets() 138 notSampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets() 184 .end(EndSpanOptions.builder().setSampleToLocalSpanStore(true).build()); in registerSpanNamesViaSpanBuilderOption() 216 span.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in getErrorSampledSpans() 228 span1.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in getErrorSampledSpans_MaxSpansToReturn() 233 span2.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in getErrorSampledSpans_MaxSpansToReturn() 246 span1.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in getErrorSampledSpans_NullCode() 249 span2.end(EndSpanOptions.builder().setStatus(Status.UNKNOWN).build()); in getErrorSampledSpans_NullCode() 260 span1.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in getErrorSampledSpans_NullCode_MaxSpansToReturn() [all …]
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | TestSpan.java | 21 import io.opencensus.trace.EndSpanOptions; 36 public void end(EndSpanOptions options) {} in end()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | NoRecordEventsSpanImpl.java | 22 import io.opencensus.trace.EndSpanOptions; 78 public void end(EndSpanOptions options) { in end()
|
D | RecordEventsSpanImpl.java | 31 import io.opencensus.trace.EndSpanOptions; 370 public void end(EndSpanOptions options) { in end()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpan.java | 22 import io.opencensus.trace.EndSpanOptions; 65 public void end(EndSpanOptions endSpanOptions) {} in end()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | NoRecordEventsSpanImplTest.java | 23 import io.opencensus.trace.EndSpanOptions; 88 noRecordEventsSpan.end(EndSpanOptions.DEFAULT); in doNotCrash()
|
D | RecordEventsSpanImplTest.java | 28 import io.opencensus.trace.EndSpanOptions; 226 span.end(EndSpanOptions.builder().setStatus(Status.CANCELLED).build()); in toSpanData_EndedSpan() 298 span.end(EndSpanOptions.builder().setStatus(Status.ABORTED).build()); in status_ViaEndSpanOptions() 542 span.end(EndSpanOptions.builder().setSampleToLocalSpanStore(true).build()); in sampleToLocalSpanStore()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | CensusModulesTest.java | 70 import io.opencensus.trace.EndSpanOptions; 302 verify(spyClientSpan, never()).end(any(EndSpanOptions.class)); in testClientInterceptors() 327 EndSpanOptions.builder() in testClientInterceptors() 435 verify(spyClientSpan, never()).end(any(EndSpanOptions.class)); in clientBasicTracingDefaultSpan() 461 EndSpanOptions.builder() in clientBasicTracingDefaultSpan() 476 EndSpanOptions.builder() in clientTracingSampledToLocalSpanStore() 533 EndSpanOptions.builder() in clientStreamNeverCreatedStillRecordTracing() 900 verify(spyServerSpan, never()).end(any(EndSpanOptions.class)); in serverBasicTracingNoHeaders() 925 EndSpanOptions.builder() in serverBasicTracingNoHeaders() 946 EndSpanOptions.builder() in serverTracingSampledToLocalSpanStore() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | CensusTracingModule.java | 36 import io.opencensus.trace.EndSpanOptions; 204 private static EndSpanOptions createEndSpanOptions( in createEndSpanOptions() 206 return EndSpanOptions.builder() in createEndSpanOptions()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancerTest.java | 30 import io.opencensus.trace.EndSpanOptions; 329 public void end(EndSpanOptions options) {} in end()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | StatsTestUtils.java | 41 import io.opencensus.trace.EndSpanOptions; 356 public void end(EndSpanOptions options) {}
|