Home
last modified time | relevance | path

Searched refs:SPAN_NAME (Results 1 – 14 of 14) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java48 private static final String SPAN_NAME = "MySpanName"; field in SpanBuilderImplTest
68 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpan_CreatesTheCorrectSpanImplInstance()
73 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpan_CreatesTheCorrectSpanImplInstance()
79 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpan_CreatesTheCorrectSpanImplInstance()
89 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in setSpanKind_NotNull()
101 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in setSpanKind_DefaultNull()
112 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpanNullParent()
122 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in startSpanNullParent()
129 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpanNullParentWithRecordEvents()
144 SpanBuilderImpl.createWithParent(SPAN_NAME, null, spanBuilderOptions) in startSpanNullParentNoRecordOptions()
[all …]
DRecordEventsSpanImplTest.java55 private static final String SPAN_NAME = "MySpanName"; field in RecordEventsSpanImplTest
89 SPAN_NAME, in noEventsRecordedAfterEnd()
124 SPAN_NAME, in deprecatedAddAttributesStillWorks()
143 SPAN_NAME, in toSpanData_ActiveSpan()
169 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in toSpanData_ActiveSpan()
202 SPAN_NAME, in toSpanData_EndedSpan()
230 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in toSpanData_EndedSpan()
263 SPAN_NAME, in status_ViaSetStatus()
285 SPAN_NAME, in status_ViaEndSpanOptions()
310 SPAN_NAME, in droppingAttributes()
[all …]
DTracerImplTest.java38 private static final String SPAN_NAME = "MySpanName"; field in TracerImplTest
52 SpanBuilder spanBuilder = tracer.spanBuilderWithExplicitParent(SPAN_NAME, BlankSpan.INSTANCE); in createSpanBuilder()
58 SpanBuilder spanBuilder = tracer.spanBuilderWithRemoteParent(SPAN_NAME, SpanContext.INVALID); in createSpanBuilderWithRemoteParet()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracerTest.java39 private static final String SPAN_NAME = "MySpanName"; field in TracerTest
118 assertThat(noopTracer.spanBuilder(SPAN_NAME).startSpan()).isSameAs(BlankSpan.INSTANCE); in defaultSpanBuilderWithName()
128 assertThat(noopTracer.spanBuilderWithExplicitParent(SPAN_NAME, null).startSpan()) in defaultSpanBuilderWithParentAndName()
139 assertThat(noopTracer.spanBuilderWithRemoteParent(SPAN_NAME, null).startSpan()) in defaultSpanBuilderWithRemoteParent_NullParent()
145 assertThat(noopTracer.spanBuilderWithRemoteParent(SPAN_NAME, SpanContext.INVALID).startSpan()) in defaultSpanBuilderWithRemoteParent()
154 when(tracer.spanBuilderWithExplicitParent(same(SPAN_NAME), same(span))) in startSpanWithParentFromContext()
156 assertThat(tracer.spanBuilder(SPAN_NAME)).isSameAs(spanBuilder); in startSpanWithParentFromContext()
167 when(tracer.spanBuilderWithExplicitParent(same(SPAN_NAME), same(BlankSpan.INSTANCE))) in startSpanWithInvalidParentFromContext()
169 assertThat(tracer.spanBuilder(SPAN_NAME)).isSameAs(spanBuilder); in startSpanWithInvalidParentFromContext()
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java39 private static final String SPAN_NAME = "MySpanName"; field in StartEndSpanBenchmark
55 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
77 .spanBuilderWithExplicitParent(SPAN_NAME, null) in startEndNonSampledRootSpan()
94 .spanBuilderWithExplicitParent(SPAN_NAME, null) in startEndRecordEventsRootSpan()
109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); in startEndSampledRootSpan()
124 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndNonSampledChildSpan()
141 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndRecordEventsChildSpan()
158 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndSampledChildSpan()
DRecordTraceEventsBenchmark.java42 private static final String SPAN_NAME = "MySpanName"; field in RecordTraceEventsBenchmark
64 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
69 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/
DSpanDataTest.java58 private static final String SPAN_NAME = "MySpanName"; field in SpanDataTest
116 SPAN_NAME, in spanData_AllValues()
129 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in spanData_AllValues()
149 SPAN_NAME, in spanData_Create_Compatibility()
162 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in spanData_Create_Compatibility()
181 SPAN_NAME, in spanData_RootActiveSpan()
194 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in spanData_RootActiveSpan()
213 SPAN_NAME, in spanData_AllDataEmpty()
226 assertThat(spanData.getName()).isEqualTo(SPAN_NAME); in spanData_AllDataEmpty()
245 SPAN_NAME, in spanDataEquals()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DNoopSampledSpanStoreImplTest.java49 private static final String SPAN_NAME = "MySpanName"; field in NoopSampledSpanStoreImplTest
51 Collections.<String>singletonList(SPAN_NAME);
64 ErrorFilter.create(SPAN_NAME, null /* canonicalCode */, 0 /* maxSpansToReturn */);
67 SPAN_NAME,
102 SPAN_NAME, in noopImplementation()
DNoopRunningSpanStoreImplTest.java46 private static final String SPAN_NAME = "MySpanName"; field in NoopRunningSpanStoreImplTest
58 private final Filter filter = Filter.create(SPAN_NAME, 0 /* maxSpansToReturn */);
69 SPAN_NAME, in setUp()
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerProtoTest.java82 private static final String SPAN_NAME = "MySpanName"; field in StackdriverV2ExporterHandlerProtoTest
193 SPAN_NAME, in generateSpan()
291 .isEqualTo(TruncatableString.newBuilder().setValue(SPAN_NAME).build()); in generateSpan()
346 SPAN_NAME, in generateSpan_WithResourceLabels()
383 SPAN_NAME, in mapHttpAttributes()
413 SPAN_NAME, in generateSpanName_ForServer()
424 .isEqualTo("Recv." + SPAN_NAME); in generateSpanName_ForServer()
434 "Recv." + SPAN_NAME, in generateSpanName_ForServerWithRecv()
445 .isEqualTo("Recv." + SPAN_NAME); in generateSpanName_ForServerWithRecv()
455 SPAN_NAME, in generateSpanName_ForClient()
[all …]
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/zpages/
DZPagesTester.java44 private static final String SPAN_NAME = "ExampleSpan"; field in ZPagesTester
50 .registerSpanNamesForCollection(Collections.singletonList(SPAN_NAME)); in recordExampleData()
53 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in recordExampleData()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java40 private static final String SPAN_NAME = "MySpanName"; field in SamplersTest
136 SPAN_NAME, in assertSamplerSamplesWithProbability()
235 SPAN_NAME, in probabilitySampler_SampleBasedOnTraceId()
266 SPAN_NAME, in probabilitySampler_SampleBasedOnTraceId()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java59 private static final String SPAN_NAME = "my.org/ProcessVideo"; field in JaegerExporterHandlerIntegrationTest
104 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in exportToJaeger()
160 assertThat(span.get("operationName").getAsString()).isEqualTo(SPAN_NAME); in exportToJaeger()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java78 private static final String SPAN_NAME = "MySpanName"; field in TraceProtoUtilsTest
152 SPAN_NAME, in toSpanProto()
244 assertThat(span.getName()).isEqualTo(toTruncatableStringProto(SPAN_NAME)); in toSpanProto()