/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | StartEndHandlerImpl.java | 36 @Nullable private final RunningSpanStoreImpl runningSpanStore; field in StartEndHandlerImpl 53 @Nullable RunningSpanStoreImpl runningSpanStore, in StartEndHandlerImpl() argument 57 this.runningSpanStore = runningSpanStore; in StartEndHandlerImpl() 59 this.enqueueEventForNonSampledSpans = runningSpanStore != null || sampledSpanStore != null; in StartEndHandlerImpl() 66 eventQueue.enqueue(new SpanStartEvent(span, runningSpanStore)); in onStart() 74 eventQueue.enqueue(new SpanEndEvent(span, spanExporter, runningSpanStore, sampledSpanStore)); in onEnd() 99 @Nullable private final RunningSpanStoreImpl runningSpanStore; field in StartEndHandlerImpl.SpanEndEvent 106 @Nullable RunningSpanStoreImpl runningSpanStore, in SpanEndEvent() argument 109 this.runningSpanStore = runningSpanStore; in SpanEndEvent() 119 if (runningSpanStore != null) { in process() [all …]
|
/external/opencensus-java/contrib/zpages/src/test/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandlerTest.java | 44 @Mock private RunningSpanStore runningSpanStore; field in TracezZPageHandlerTest 78 TracezZPageHandler.create(runningSpanStore, sampledSpanStore); in emitSummaryTableForEachSpan() 79 when(runningSpanStore.getSummary()).thenReturn(runningSpanStoreSummary); in emitSummaryTableForEachSpan() 91 TracezZPageHandler.create(runningSpanStore, sampledSpanStore); in linksForActiveRequests_InSummaryTable() 92 when(runningSpanStore.getSummary()).thenReturn(runningSpanStoreSummary); in linksForActiveRequests_InSummaryTable() 109 TracezZPageHandler.create(runningSpanStore, sampledSpanStore); in linksForSampledRequests_InSummaryTable() 110 when(runningSpanStore.getSummary()).thenReturn(runningSpanStoreSummary); in linksForSampledRequests_InSummaryTable() 131 TracezZPageHandler.create(runningSpanStore, sampledSpanStore); in linksForFailedRequests_InSummaryTable() 132 when(runningSpanStore.getSummary()).thenReturn(runningSpanStoreSummary); in linksForFailedRequests_InSummaryTable()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/ |
D | NoopRunningSpanStoreTest.java | 32 private final RunningSpanStore runningSpanStore = field in NoopRunningSpanStoreTest 39 RunningSpanStore.Summary summary = runningSpanStore.getSummary(); in noopRunningSpanStore_GetSummary() 46 runningSpanStore.getRunningSpans(null); in noopRunningSpanStore_GetRunningSpans_DisallowsNull() 52 runningSpanStore.getRunningSpans(RunningSpanStore.Filter.create("TestSpan", 0)); in noopRunningSpanStore_GetRunningSpans()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/ |
D | SpanExporterImplTest.java | 60 private final RunningSpanStoreImpl runningSpanStore = new InProcessRunningSpanStoreImpl(); field in SpanExporterImplTest 107 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in exportDifferentSampledSpans() 121 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in exportMoreSpansThanTheBufferSize() 162 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in serviceHandlerThrowsException() 180 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in exportSpansToMultipleServices() 198 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in exportNotSampledSpans() 220 new StartEndHandlerImpl(spanExporter, runningSpanStore, null, new SimpleEventQueue()); in exportNotSampledSpansFlushed()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/ |
D | ExportComponentImpl.java | 32 private final RunningSpanStoreImpl runningSpanStore; field in ExportComponentImpl 42 return runningSpanStore; in getRunningSpanStore() 84 this.runningSpanStore = in ExportComponentImpl()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 128 @javax.annotation.Nullable private final RunningSpanStore runningSpanStore; field in TracezZPageHandler 132 @javax.annotation.Nullable RunningSpanStore runningSpanStore, in TracezZPageHandler() 134 this.runningSpanStore = runningSpanStore; in TracezZPageHandler() 146 @javax.annotation.Nullable RunningSpanStore runningSpanStore, in create() 148 return new TracezZPageHandler(runningSpanStore, sampledSpanStore); in create() 197 if (runningSpanStore == null || sampledSpanStore == null) { in emitHtmlBody() 223 runningSpanStore.getRunningSpans(RunningSpanStore.Filter.create(spanName, 0))); in emitHtmlBody() 418 if (runningSpanStore == null || sampledSpanStore == null) { in emitSummaryTable() 421 RunningSpanStore.Summary runningSpanStoreSummary = runningSpanStore.getSummary(); in emitSummaryTable()
|