Home
last modified time | relevance | path

Searched refs:getActiveTraceParams (Results 1 – 13 of 13) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/
DTraceConfigImplTest.java34 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in defaultActiveTraceParams()
49 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(traceParams); in updateTraceParams()
51 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in updateTraceParams()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceConfig.java34 public abstract TraceParams getActiveTraceParams(); in getActiveTraceParams() method in TraceConfig
57 public TraceParams getActiveTraceParams() { in getActiveTraceParams() method in TraceConfig.NoopTraceConfig
/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/
DTraceConfigTest.java33 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in activeTraceParams_NoOpImplementation()
49 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in updateActiveTraceParams_NoOpImplementation()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/config/
DTraceConfigImpl.java35 public TraceParams getActiveTraceParams() { in getActiveTraceParams() method in TraceConfigImpl
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java146 emitTraceParamsTable(traceConfig.getActiveTraceParams(), out); in emitHtml()
158 TraceParams.Builder traceParamsBuilder = traceConfig.getActiveTraceParams().toBuilder(); in maybeApplyChanges()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/
DMultiSpansTracing.java63 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansScopedTracing.java74 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansContextTracing.java76 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java139 Mockito.when(mockTraceConfig.getActiveTraceParams()).thenReturn(DEFAULT_PARAMS); in setUp()
334 Mockito.verify(mockTraceConfig, Mockito.times(1)).getActiveTraceParams(); in getCurrentTraceConfig()
350 Mockito.verify(mockTraceConfig, Mockito.times(1)).getActiveTraceParams(); in applyUpdatedConfig()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java62 when(traceConfig.getActiveTraceParams()).thenReturn(alwaysSampleTraceParams); in setUp()
335 when(traceConfig.getActiveTraceParams()).thenReturn(TraceParams.DEFAULT); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
374 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(TraceParams.DEFAULT); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java376 TraceParams traceParams = traceConfig.getActiveTraceParams(); in getCurrentTraceConfig()
384 TraceParams currentParams = traceConfig.getActiveTraceParams(); in getUpdatedTraceParams()
/external/opencensus-java/contrib/spring/src/test/java/io/opencensus/contrib/spring/aop/
DCensusSpringAspectTest.java67 .getActiveTraceParams() in setup()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java69 TraceParams activeTraceParams = options.traceConfig.getActiveTraceParams(); in startSpanInternal()