/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/ |
D | TraceParamsTest.java | 71 TraceParams traceParams = in updateTraceParams_All() local 80 assertThat(traceParams.getSampler()).isEqualTo(Samplers.alwaysSample()); in updateTraceParams_All() 81 assertThat(traceParams.getMaxNumberOfAttributes()).isEqualTo(8); in updateTraceParams_All() 82 assertThat(traceParams.getMaxNumberOfAnnotations()).isEqualTo(9); in updateTraceParams_All() 84 assertThat(traceParams.getMaxNumberOfNetworkEvents()).isEqualTo(10); in updateTraceParams_All() 85 assertThat(traceParams.getMaxNumberOfMessageEvents()).isEqualTo(10); in updateTraceParams_All() 86 assertThat(traceParams.getMaxNumberOfLinks()).isEqualTo(11); in updateTraceParams_All() 91 TraceParams traceParams = in updateTraceParams_maxNumberOfNetworkEvents() local 93 assertThat(traceParams.getMaxNumberOfNetworkEvents()).isEqualTo(10); in updateTraceParams_maxNumberOfNetworkEvents() 95 assertThat(traceParams.getMaxNumberOfMessageEvents()).isEqualTo(10); in updateTraceParams_maxNumberOfNetworkEvents()
|
D | TraceConfigTest.java | 38 TraceParams traceParams = in updateActiveTraceParams_NoOpImplementation() local 48 traceConfig.updateActiveTraceParams(traceParams); in updateActiveTraceParams_NoOpImplementation()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/ |
D | TraceParams.java | 210 TraceParams traceParams = autoBuild(); in build() local 211 Utils.checkArgument(traceParams.getMaxNumberOfAttributes() > 0, "maxNumberOfAttributes"); in build() 212 Utils.checkArgument(traceParams.getMaxNumberOfAnnotations() > 0, "maxNumberOfAnnotations"); in build() 214 traceParams.getMaxNumberOfMessageEvents() > 0, "maxNumberOfMessageEvents"); in build() 215 Utils.checkArgument(traceParams.getMaxNumberOfLinks() > 0, "maxNumberOfLinks"); in build() 216 return traceParams; in build()
|
D | TraceConfig.java | 42 public abstract void updateActiveTraceParams(TraceParams traceParams); in updateActiveTraceParams() argument 62 public void updateActiveTraceParams(TraceParams traceParams) {} in updateActiveTraceParams() argument
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | RecordEventsSpanImpl.java | 67 private final TraceParams traceParams; field in RecordEventsSpanImpl 138 TraceParams traceParams, in startSpan() argument 149 traceParams, in startSpan() 390 attributes = new AttributesWithCapacity(traceParams.getMaxNumberOfAttributes()); in getInitializedAttributes() 399 new TraceEvents<EventWithNanoTime<Annotation>>(traceParams.getMaxNumberOfAnnotations()); in getInitializedAnnotations() 410 traceParams.getMaxNumberOfMessageEvents()); in getInitializedNetworkEvents() 418 links = new TraceEvents<Link>(traceParams.getMaxNumberOfLinks()); in getInitializedLinks() 561 TraceParams traceParams, in RecordEventsSpanImpl() argument 570 this.traceParams = traceParams; in RecordEventsSpanImpl()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/ |
D | TraceConfigImplTest.java | 39 TraceParams traceParams = in updateTraceParams() local 48 traceConfig.updateActiveTraceParams(traceParams); in updateTraceParams() 49 assertThat(traceConfig.getActiveTraceParams()).isEqualTo(traceParams); in updateTraceParams()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/config/ |
D | TraceConfigImpl.java | 40 public void updateActiveTraceParams(TraceParams traceParams) { in updateActiveTraceParams() argument 41 activeTraceParams = traceParams; in updateActiveTraceParams()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | RecordEventsSpanImplTest.java | 305 TraceParams traceParams = in droppingAttributes() local 314 traceParams, in droppingAttributes() 353 TraceParams traceParams = in droppingAndAddingAttributes() local 362 traceParams, in droppingAndAddingAttributes() 411 TraceParams traceParams = in droppingAnnotations() local 420 traceParams, in droppingAnnotations() 451 TraceParams traceParams = in droppingNetworkEvents() local 463 traceParams, in droppingNetworkEvents() 497 TraceParams traceParams = in droppingLinks() local 506 traceParams, in droppingLinks()
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 320 static TraceConfig toTraceConfigProto(TraceParams traceParams) { in toTraceConfigProto() argument 322 Sampler librarySampler = traceParams.getSampler(); in toTraceConfigProto() 376 TraceParams traceParams = traceConfig.getActiveTraceParams(); in getCurrentTraceConfig() local 377 return toTraceConfigProto(traceParams); in getCurrentTraceConfig()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 346 TraceParams traceParams = in applyUpdatedConfig() local 351 assertThat(traceParams).isEqualTo(expectedParams); in applyUpdatedConfig()
|