Home
last modified time | relevance | path

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

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java410 final int maxNumberOfAnnotations = 8; in droppingAnnotations() local
412 TraceParams.DEFAULT.toBuilder().setMaxNumberOfAnnotations(maxNumberOfAnnotations).build(); in droppingAnnotations()
425 for (int i = 0; i < 2 * maxNumberOfAnnotations; i++) { in droppingAnnotations()
430 assertThat(spanData.getAnnotations().getDroppedEventsCount()).isEqualTo(maxNumberOfAnnotations); in droppingAnnotations()
431 assertThat(spanData.getAnnotations().getEvents().size()).isEqualTo(maxNumberOfAnnotations); in droppingAnnotations()
432 for (int i = 0; i < maxNumberOfAnnotations; i++) { in droppingAnnotations()
434 .isEqualTo(timestamp.addNanos(100L * (maxNumberOfAnnotations + i))); in droppingAnnotations()
439 assertThat(spanData.getAnnotations().getDroppedEventsCount()).isEqualTo(maxNumberOfAnnotations); in droppingAnnotations()
440 assertThat(spanData.getAnnotations().getEvents().size()).isEqualTo(maxNumberOfAnnotations); in droppingAnnotations()
441 for (int i = 0; i < maxNumberOfAnnotations; i++) { in droppingAnnotations()
[all …]
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java171 int maxNumberOfAnnotations = Integer.parseInt(maxNumberOfAnnotationsStr); in maybeApplyChanges() local
172 traceParamsBuilder.setMaxNumberOfAnnotations(maxNumberOfAnnotations); in maybeApplyChanges()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceParams.java161 public abstract Builder setMaxNumberOfAnnotations(int maxNumberOfAnnotations); in setMaxNumberOfAnnotations() argument