Home
last modified time | relevance | path

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

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java450 final int maxNumberOfNetworkEvents = 8; in droppingNetworkEvents() local
454 .setMaxNumberOfNetworkEvents(maxNumberOfNetworkEvents) in droppingNetworkEvents()
469 for (int i = 0; i < 2 * maxNumberOfNetworkEvents; i++) { in droppingNetworkEvents()
475 .isEqualTo(maxNumberOfNetworkEvents); in droppingNetworkEvents()
476 assertThat(spanData.getNetworkEvents().getEvents().size()).isEqualTo(maxNumberOfNetworkEvents); in droppingNetworkEvents()
477 for (int i = 0; i < maxNumberOfNetworkEvents; i++) { in droppingNetworkEvents()
479 .isEqualTo(timestamp.addNanos(100L * (maxNumberOfNetworkEvents + i))); in droppingNetworkEvents()
485 .isEqualTo(maxNumberOfNetworkEvents); in droppingNetworkEvents()
486 assertThat(spanData.getNetworkEvents().getEvents().size()).isEqualTo(maxNumberOfNetworkEvents); in droppingNetworkEvents()
487 for (int i = 0; i < maxNumberOfNetworkEvents; i++) { in droppingNetworkEvents()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceParams.java185 public Builder setMaxNumberOfNetworkEvents(int maxNumberOfNetworkEvents) { in setMaxNumberOfNetworkEvents() argument
186 return setMaxNumberOfMessageEvents(maxNumberOfNetworkEvents); in setMaxNumberOfNetworkEvents()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java177 int maxNumberOfNetworkEvents = Integer.parseInt(maxNumberOfNetworkEventsStr); in maybeApplyChanges() local
178 traceParamsBuilder.setMaxNumberOfNetworkEvents(maxNumberOfNetworkEvents); in maybeApplyChanges()