Home
last modified time | relevance | path

Searched refs:ChannelTrace (Results 1 – 25 of 25) sorted by relevance

/external/grpc-grpc/src/core/lib/channel/
Dchannel_trace.cc44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data, in TraceEvent()
53 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data) in TraceEvent()
60 ChannelTrace::TraceEvent::~TraceEvent() { grpc_slice_unref_internal(data_); } in ~TraceEvent()
62 ChannelTrace::ChannelTrace(size_t max_events) in ChannelTrace() function in grpc_core::channelz::ChannelTrace
74 ChannelTrace::~ChannelTrace() { in ~ChannelTrace()
85 void ChannelTrace::AddTraceEventHelper(TraceEvent* new_trace_event) { in AddTraceEventHelper()
106 void ChannelTrace::AddTraceEvent(Severity severity, grpc_slice data) { in AddTraceEvent()
111 void ChannelTrace::AddTraceEventWithReference( in AddTraceEventWithReference()
122 const char* severity_string(ChannelTrace::Severity severity) { in severity_string()
124 case ChannelTrace::Severity::Info: in severity_string()
[all …]
Dchannelz.h150 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
153 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
169 ChannelTrace trace_;
181 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
184 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
196 ChannelTrace trace_;
Dchannel_trace.h38 class ChannelTrace {
40 ChannelTrace(size_t max_events);
41 ~ChannelTrace();
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTrace.java13 public final class ChannelTrace extends class
19 private ChannelTrace(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in ChannelTrace() method in ChannelTrace
22 private ChannelTrace() { in ChannelTrace() method in ChannelTrace
32 private ChannelTrace( in ChannelTrace() method in ChannelTrace
109 io.grpc.channelz.v1.ChannelTrace.class, io.grpc.channelz.v1.ChannelTrace.Builder.class); in internalGetFieldAccessorTable()
267 if (!(obj instanceof io.grpc.channelz.v1.ChannelTrace)) { in equals()
270 io.grpc.channelz.v1.ChannelTrace other = (io.grpc.channelz.v1.ChannelTrace) obj; in equals()
309 public static io.grpc.channelz.v1.ChannelTrace parseFrom( in parseFrom()
314 public static io.grpc.channelz.v1.ChannelTrace parseFrom( in parseFrom()
320 public static io.grpc.channelz.v1.ChannelTrace parseFrom( in parseFrom()
[all …]
DServerData.java60 io.grpc.channelz.v1.ChannelTrace.Builder subBuilder = null; in ServerData()
64 … trace_ = input.readMessage(io.grpc.channelz.v1.ChannelTrace.parser(), extensionRegistry); in ServerData()
125 private io.grpc.channelz.v1.ChannelTrace trace_;
143 public io.grpc.channelz.v1.ChannelTrace getTrace() { in getTrace()
144 return trace_ == null ? io.grpc.channelz.v1.ChannelTrace.getDefaultInstance() : trace_; in getTrace()
613 private io.grpc.channelz.v1.ChannelTrace trace_ = null;
615 …io.grpc.channelz.v1.ChannelTrace, io.grpc.channelz.v1.ChannelTrace.Builder, io.grpc.channelz.v1.Ch…
633 public io.grpc.channelz.v1.ChannelTrace getTrace() { in getTrace()
635 return trace_ == null ? io.grpc.channelz.v1.ChannelTrace.getDefaultInstance() : trace_; in getTrace()
647 public Builder setTrace(io.grpc.channelz.v1.ChannelTrace value) { in setTrace()
[all …]
DChannelData.java80 io.grpc.channelz.v1.ChannelTrace.Builder subBuilder = null; in ChannelData()
84 … trace_ = input.readMessage(io.grpc.channelz.v1.ChannelTrace.parser(), extensionRegistry); in ChannelData()
223 private io.grpc.channelz.v1.ChannelTrace trace_;
241 public io.grpc.channelz.v1.ChannelTrace getTrace() { in getTrace()
242 return trace_ == null ? io.grpc.channelz.v1.ChannelTrace.getDefaultInstance() : trace_; in getTrace()
1009 private io.grpc.channelz.v1.ChannelTrace trace_ = null;
1011 …io.grpc.channelz.v1.ChannelTrace, io.grpc.channelz.v1.ChannelTrace.Builder, io.grpc.channelz.v1.Ch…
1029 public io.grpc.channelz.v1.ChannelTrace getTrace() { in getTrace()
1031 return trace_ == null ? io.grpc.channelz.v1.ChannelTrace.getDefaultInstance() : trace_; in getTrace()
1043 public Builder setTrace(io.grpc.channelz.v1.ChannelTrace value) { in setTrace()
[all …]
DServerDataOrBuilder.java25 io.grpc.channelz.v1.ChannelTrace getTrace(); in getTrace()
DChannelDataOrBuilder.java71 io.grpc.channelz.v1.ChannelTrace getTrace(); in getTrace()
/external/grpc-grpc/test/core/channel/
Dchannel_trace_test.cc48 ChannelTrace* trace() const { return &node_->trace_; } in trace()
91 void AddSimpleTrace(ChannelTrace* tracer) { in AddSimpleTrace()
92 tracer->AddTraceEvent(ChannelTrace::Severity::Info, in AddSimpleTrace()
97 void ValidateChannelTrace(ChannelTrace* tracer, in ValidateChannelTrace()
141 ChannelTrace tracer(GetParam()); in TEST_P()
144 tracer.AddTraceEvent(ChannelTrace::Severity::Info, in TEST_P()
146 tracer.AddTraceEvent(ChannelTrace::Severity::Error, in TEST_P()
164 ChannelTrace tracer(GetParam()); in TEST_P()
172 ChannelTrace::Severity::Info, in TEST_P()
190 ChannelTrace::Severity::Info, in TEST_P()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DChannelTracer.java23 import io.grpc.InternalChannelz.ChannelTrace;
24 import io.grpc.InternalChannelz.ChannelTrace.Event;
64 reportEvent(new ChannelTrace.Event.Builder() in ChannelTracer()
66 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in ChannelTracer()
87 builder.setChannelTrace(new ChannelTrace.Builder() in updateBuilder()
DManagedChannelImpl.java49 import io.grpc.InternalChannelz.ChannelTrace;
401 new ChannelTrace.Event.Builder() in enterIdleMode()
403 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in enterIdleMode()
694 channelTracer.reportEvent(new ChannelTrace.Event.Builder() in shutdown()
696 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in shutdown()
760 new ChannelTrace.Event.Builder() in panic()
762 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in panic()
1079 channelTracer.reportEvent(new ChannelTrace.Event.Builder() in createSubchannel()
1081 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in createSubchannel()
1130 new ChannelTrace.Event.Builder() in updateBalancingState()
[all …]
DOobChannel.java35 import io.grpc.InternalChannelz.ChannelTrace;
247 new ChannelTrace.Event.Builder() in handleSubchannelStateChange()
249 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in handleSubchannelStateChange()
DInternalSubchannel.java40 import io.grpc.InternalChannelz.ChannelTrace;
333 new ChannelTrace.Event.Builder() in gotoState()
335 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in gotoState()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.h80 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
83 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
97 ChannelTrace trace_;
Dsubchannel.cc188 grpc_core::channelz::ChannelTrace::Severity::Info, in subchannel_destroy()
402 grpc_core::channelz::ChannelTrace::Severity::Info, in grpc_subchannel_create()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java365 @Nullable public final ChannelTrace channelTrace;
379 @Nullable ChannelTrace channelTrace, in ChannelStats()
404 private ChannelTrace channelTrace;
422 public Builder setChannelTrace(ChannelTrace channelTrace) { in setChannelTrace()
480 public static final class ChannelTrace { class in InternalChannelz
485 private ChannelTrace(long numEventsLogged, long creationTimeNanos, List<Event> events) { in ChannelTrace() method in InternalChannelz.ChannelTrace
512 public ChannelTrace build() { in build()
515 return new ChannelTrace(numEventsLogged, creationTimeNanos, events); in build()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DChannelTracerTest.java22 import io.grpc.InternalChannelz.ChannelTrace.Event;
23 import io.grpc.InternalChannelz.ChannelTrace.Event.Severity;
DManagedChannelImplTest.java74 import io.grpc.InternalChannelz.ChannelTrace;
2130 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_channelCreationEvent()
2132 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in channelTracing_channelCreationEvent()
2144 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_subchannelCreationEvents()
2146 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in channelTracing_subchannelCreationEvents()
2150 assertThat(getStats(subchannel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_subchannelCreationEvents()
2152 .setSeverity(ChannelTrace.Event.Severity.CT_INFO) in channelTracing_subchannelCreationEvents()
2162 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_nameResolvingErrorEvent()
2164 .setSeverity(ChannelTrace.Event.Severity.CT_WARNING) in channelTracing_nameResolvingErrorEvent()
2179 assertThat(getStats(channel).channelTrace.events).contains(new ChannelTrace.Event.Builder() in channelTracing_nameResolvedEvent()
[all …]
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java29 import io.grpc.InternalChannelz.ChannelTrace.Event;
48 import io.grpc.channelz.v1.ChannelTrace;
373 private static ChannelTrace toChannelTrace(InternalChannelz.ChannelTrace channelTrace) { in toChannelTrace()
374 return ChannelTrace.newBuilder() in toChannelTrace()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java37 import io.grpc.InternalChannelz.ChannelTrace.Event;
38 import io.grpc.InternalChannelz.ChannelTrace.Event.Severity;
56 import io.grpc.channelz.v1.ChannelTrace;
318 private final ChannelTrace channelTrace = ChannelTrace
854 .setChannelTrace(new InternalChannelz.ChannelTrace.Builder() in channelTrace_withoutEvents()
882 new InternalChannelz.ChannelTrace.Builder() in channelTrace_withEvents()
/external/grpc-grpc/test/cpp/util/
Dchannel_trace_proto_helper.cc68 VaidateProtoJsonTranslation<grpc::channelz::v1::ChannelTrace>(json_c_str); in ValidateChannelTraceProtoJsonTranslation()
/external/grpc-grpc/src/core/lib/surface/
Dchannel.cc174 grpc_core::channelz::ChannelTrace::Severity::Info, in grpc_channel_create_with_builder()
432 grpc_core::channelz::ChannelTrace::Severity::Info, in destroy_channel()
Dserver.cc994 grpc_core::channelz::ChannelTrace::Severity::Info, in grpc_server_create()
/external/grpc-grpc-java/services/src/main/proto/grpc/channelz/v1/
Dchannelz.proto107 ChannelTrace trace = 3;
146 // ChannelTrace represents the recent events that have occurred on the channel.
147 message ChannelTrace { message
213 ChannelTrace trace = 1;
/external/grpc-grpc/src/proto/grpc/channelz/
Dchannelz.proto107 ChannelTrace trace = 3;
146 // ChannelTrace represents the recent events that have occurred on the channel.
147 message ChannelTrace { message
213 ChannelTrace trace = 1;