Home
last modified time | relevance | path

Searched refs:maxNumberOfAttributes (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java304 final int maxNumberOfAttributes = 8; in droppingAttributes() local
306 TraceParams.DEFAULT.toBuilder().setMaxNumberOfAttributes(maxNumberOfAttributes).build(); in droppingAttributes()
318 for (int i = 0; i < 2 * maxNumberOfAttributes; i++) { in droppingAttributes()
325 .isEqualTo(maxNumberOfAttributes); in droppingAttributes()
326 assertThat(spanData.getAttributes().getAttributeMap().size()).isEqualTo(maxNumberOfAttributes); in droppingAttributes()
327 for (int i = 0; i < maxNumberOfAttributes; i++) { in droppingAttributes()
332 .get("MyStringAttributeKey" + (i + maxNumberOfAttributes))) in droppingAttributes()
333 .isEqualTo(AttributeValue.longAttributeValue(i + maxNumberOfAttributes)); in droppingAttributes()
338 .isEqualTo(maxNumberOfAttributes); in droppingAttributes()
339 assertThat(spanData.getAttributes().getAttributeMap().size()).isEqualTo(maxNumberOfAttributes); in droppingAttributes()
[all …]
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java166 int maxNumberOfAttributes = Integer.parseInt(maxNumberOfAttributesStr); in maybeApplyChanges() local
167 traceParamsBuilder.setMaxNumberOfAttributes(maxNumberOfAttributes); in maybeApplyChanges()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceParams.java151 public abstract Builder setMaxNumberOfAttributes(int maxNumberOfAttributes); in setMaxNumberOfAttributes() argument