Searched refs:maxNumberOfAnnotations (Results 1 – 3 of 3) sorted by relevance
410 final int maxNumberOfAnnotations = 8; in droppingAnnotations() local412 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 …]
171 int maxNumberOfAnnotations = Integer.parseInt(maxNumberOfAnnotationsStr); in maybeApplyChanges() local172 traceParamsBuilder.setMaxNumberOfAnnotations(maxNumberOfAnnotations); in maybeApplyChanges()
161 public abstract Builder setMaxNumberOfAnnotations(int maxNumberOfAnnotations); in setMaxNumberOfAnnotations() argument