Home
last modified time | relevance | path

Searched refs:EndSpanOptions (Results 1 – 20 of 20) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DEndSpanOptionsTest.java31 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 …]
DCurrentSpanUtilsTest.java110 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()
DSpanBuilderTest.java59 verify(span).end(EndSpanOptions.DEFAULT); in startScopedSpan()
73 verify(span).end(EndSpanOptions.DEFAULT); in startSpanAndRun()
91 verify(span).end(EndSpanOptions.DEFAULT); in startSpanAndCall()
DNoopSpan.java66 public void end(EndSpanOptions options) { in end()
DBlankSpanTest.java60 BlankSpan.INSTANCE.end(EndSpanOptions.DEFAULT); in doNotCrash()
DSpanTest.java99 verify(span).end(same(EndSpanOptions.DEFAULT)); in endCallsEndWithDefaultOptions()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DEndSpanOptions.java33 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
DSpan.java233 public abstract void end(EndSpanOptions options); in end()
244 end(EndSpanOptions.DEFAULT); in end()
DBlankSpan.java94 public void end(EndSpanOptions options) { in end()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DInProcessSampledSpanStoreImplTest.java27 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/
DTestSpan.java21 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/
DNoRecordEventsSpanImpl.java22 import io.opencensus.trace.EndSpanOptions;
78 public void end(EndSpanOptions options) { in end()
DRecordEventsSpanImpl.java31 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/
DOpenCensusSleuthSpan.java22 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/
DNoRecordEventsSpanImplTest.java23 import io.opencensus.trace.EndSpanOptions;
88 noRecordEventsSpan.end(EndSpanOptions.DEFAULT); in doNotCrash()
DRecordEventsSpanImplTest.java28 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/
DCensusModulesTest.java70 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/
DCensusTracingModule.java36 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/
DOpenCensusTraceLoggingEnhancerTest.java30 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/
DStatsTestUtils.java41 import io.opencensus.trace.EndSpanOptions;
356 public void end(EndSpanOptions options) {}