Searched refs:channelTrace (Results 1 – 5 of 5) sorted by relevance
62 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 …]
2130 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 …]
365 @Nullable public final ChannelTrace channelTrace; field in InternalChannelz.ChannelStats379 @Nullable ChannelTrace channelTrace, in ChannelStats() argument392 this.channelTrace = channelTrace; in ChannelStats()404 private ChannelTrace channelTrace; field in InternalChannelz.ChannelStats.Builder422 public Builder setChannelTrace(ChannelTrace channelTrace) { in setChannelTrace() argument423 this.channelTrace = channelTrace; in setChannelTrace()468 channelTrace, in build()
363 if (stats.channelTrace != null) { in extractChannelData()364 builder.setTrace(toChannelTrace(stats.channelTrace)); in extractChannelData()373 private static ChannelTrace toChannelTrace(InternalChannelz.ChannelTrace channelTrace) { in toChannelTrace() argument375 .setNumEventsLogged(channelTrace.numEventsLogged) in toChannelTrace()376 .setCreationTimestamp(Timestamps.fromNanos(channelTrace.creationTimeNanos)) in toChannelTrace()377 .addAllEvents(toChannelTraceEvents(channelTrace.events)) in toChannelTrace()
318 private final ChannelTrace channelTrace = ChannelTrace field in ChannelzProtoUtilTest860 ChannelData protoStats = channelData.toBuilder().setTrace(channelTrace).build(); in channelTrace_withoutEvents()905 .setTrace(channelTrace in channelTrace_withEvents()