Home
last modified time | relevance | path

Searched refs:channelTrace (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DChannelTracerTest.java62 assertThat(stats.channelTrace.events).hasSize(1); in reportEvents()
63 Event creationEvent = stats.channelTrace.events.get(0); in reportEvents()
64 assertThat(stats.channelTrace.numEventsLogged).isEqualTo(1); in reportEvents()
71 assertThat(stats.channelTrace.events).containsExactly(creationEvent, e1); in reportEvents()
72 assertThat(stats.channelTrace.numEventsLogged).isEqualTo(2); in reportEvents()
78 assertThat(stats.channelTrace.events).containsExactly(e1, e2); in reportEvents()
79 assertThat(stats.channelTrace.numEventsLogged).isEqualTo(3); in reportEvents()
85 assertThat(stats.channelTrace.events).containsExactly(e2, e3); in reportEvents()
86 assertThat(stats.channelTrace.numEventsLogged).isEqualTo(4); in reportEvents()
92 assertThat(stats.channelTrace.events).containsExactly(e3, e4); in reportEvents()
[all …]
DManagedChannelImplTest.java2130 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_channelCreationEvent()
2144 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_subchannelCreationEvents()
2150 assertThat(getStats(subchannel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_subchannelCreationEvents()
2162 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_nameResolvingErrorEvent()
2179 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_nameResolvedEvent()
2198 int prevSize = getStats(channel).channelTrace.events.size(); in channelTracing_nameResolvedEvent_zeorAndNonzeroBackends()
2203 assertThat(getStats(channel).channelTrace.events).hasSize(prevSize); in channelTracing_nameResolvedEvent_zeorAndNonzeroBackends()
2205 prevSize = getStats(channel).channelTrace.events.size(); in channelTracing_nameResolvedEvent_zeorAndNonzeroBackends()
2207 assertThat(getStats(channel).channelTrace.events).hasSize(prevSize + 1); in channelTracing_nameResolvedEvent_zeorAndNonzeroBackends()
2209 prevSize = getStats(channel).channelTrace.events.size(); in channelTracing_nameResolvedEvent_zeorAndNonzeroBackends()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java365 @Nullable public final ChannelTrace channelTrace; field in InternalChannelz.ChannelStats
379 @Nullable ChannelTrace channelTrace, in ChannelStats() argument
392 this.channelTrace = channelTrace; in ChannelStats()
404 private ChannelTrace channelTrace; field in InternalChannelz.ChannelStats.Builder
422 public Builder setChannelTrace(ChannelTrace channelTrace) { in setChannelTrace() argument
423 this.channelTrace = channelTrace; in setChannelTrace()
468 channelTrace, in build()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java363 if (stats.channelTrace != null) { in extractChannelData()
364 builder.setTrace(toChannelTrace(stats.channelTrace)); in extractChannelData()
373 private static ChannelTrace toChannelTrace(InternalChannelz.ChannelTrace channelTrace) { in toChannelTrace() argument
375 .setNumEventsLogged(channelTrace.numEventsLogged) in toChannelTrace()
376 .setCreationTimestamp(Timestamps.fromNanos(channelTrace.creationTimeNanos)) in toChannelTrace()
377 .addAllEvents(toChannelTraceEvents(channelTrace.events)) in toChannelTrace()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java318 private final ChannelTrace channelTrace = ChannelTrace field in ChannelzProtoUtilTest
860 ChannelData protoStats = channelData.toBuilder().setTrace(channelTrace).build(); in channelTrace_withoutEvents()
905 .setTrace(channelTrace in channelTrace_withEvents()