Versions in this module Expand all Collapse all v1 v1.41.0 Sep 6, 2021 Changes in this version + func AddTraceEvent(l grpclog.DepthLoggerV2, id int64, depth int, desc *TraceEventDesc) + func Error(l grpclog.DepthLoggerV2, id int64, args ...interface{}) + func Errorf(l grpclog.DepthLoggerV2, id int64, format string, args ...interface{}) + func Info(l grpclog.DepthLoggerV2, id int64, args ...interface{}) + func Infof(l grpclog.DepthLoggerV2, id int64, format string, args ...interface{}) + func ResetMaxTraceEntryToDefault() + func SetMaxTraceEntry(i int32) + func Warning(l grpclog.DepthLoggerV2, id int64, args ...interface{}) + func Warningf(l grpclog.DepthLoggerV2, id int64, format string, args ...interface{}) type ChannelMetric + Trace *ChannelTrace + type ChannelTrace struct + CreationTime time.Time + EventNum int64 + Events []*TraceEvent + type RefChannelType int + const RefChannel + const RefSubChannel type ServerMetric + func GetServer(id int64) *ServerMetric + type Severity int + const CtError + const CtInfo + const CtUnknown + const CtWarning type SubChannelMetric + Trace *ChannelTrace + type TraceEvent struct + Desc string + RefID int64 + RefName string + RefType RefChannelType + Severity Severity + Timestamp time.Time + type TraceEventDesc struct + Desc string + Parent *TraceEventDesc + Severity Severity v1.14.0 Jul 31, 2018 Changes in this version type SocketInternalMetric + Security credentials.ChannelzSecurityValue + SocketOptions *SocketOptionData + type SocketOptionData struct — darwin/amd64, js/wasm, windows/amd64 + func GetSocketOption(c interface{}) *SocketOptionData + func (s *SocketOptionData) Getsockopt(fd uintptr) + type SocketOptionData struct — linux/amd64 + Linger *unix.Linger + RecvTimeout *unix.Timeval + SendTimeout *unix.Timeval + TCPInfo *unix.TCPInfo + func GetSocketOption(socket interface{}) *SocketOptionData v1.13.0 Jun 19, 2018 Changes in this version + var EntryPerPage = 50 + func IsOn() bool + func NewChannelzStorage() + func RegisterChannel(c Channel, pid int64, ref string) int64 + func RegisterListenSocket(s Socket, pid int64, ref string) int64 + func RegisterNormalSocket(s Socket, pid int64, ref string) int64 + func RegisterServer(s Server, ref string) int64 + func RegisterSubChannel(c Channel, pid int64, ref string) int64 + func RemoveEntry(id int64) + func TurnOn() + type Channel interface + ChannelzMetric func() *ChannelInternalMetric + type ChannelInternalMetric struct + CallsFailed int64 + CallsStarted int64 + CallsSucceeded int64 + LastCallStartedTimestamp time.Time + State connectivity.State + Target string + type ChannelMetric struct + ChannelData *ChannelInternalMetric + ID int64 + NestedChans map[int64]string + RefName string + Sockets map[int64]string + SubChans map[int64]string + func GetChannel(id int64) *ChannelMetric + func GetTopChannels(id int64) ([]*ChannelMetric, bool) + type Server interface + ChannelzMetric func() *ServerInternalMetric + type ServerInternalMetric struct + CallsFailed int64 + CallsStarted int64 + CallsSucceeded int64 + LastCallStartedTimestamp time.Time + type ServerMetric struct + ID int64 + ListenSockets map[int64]string + RefName string + ServerData *ServerInternalMetric + func GetServers(id int64) ([]*ServerMetric, bool) + type Socket interface + ChannelzMetric func() *SocketInternalMetric + type SocketInternalMetric struct + KeepAlivesSent int64 + LastLocalStreamCreatedTimestamp time.Time + LastMessageReceivedTimestamp time.Time + LastMessageSentTimestamp time.Time + LastRemoteStreamCreatedTimestamp time.Time + LocalAddr net.Addr + LocalFlowControlWindow int64 + MessagesReceived int64 + MessagesSent int64 + RemoteAddr net.Addr + RemoteFlowControlWindow int64 + RemoteName string + StreamsFailed int64 + StreamsStarted int64 + StreamsSucceeded int64 + type SocketMetric struct + ID int64 + RefName string + SocketData *SocketInternalMetric + func GetServerSockets(id int64, startID int64) ([]*SocketMetric, bool) + func GetSocket(id int64) *SocketMetric + type SubChannelMetric struct + ChannelData *ChannelInternalMetric + ID int64 + NestedChans map[int64]string + RefName string + Sockets map[int64]string + SubChans map[int64]string + func GetSubChannel(id int64) *SubChannelMetric