kubernetes/vendor/google.golang.org/grpc/internal/channelz/trace.go

const defaultMaxTraceEntry

var maxTraceEntry

// SetMaxTraceEntry sets maximum number of trace entries per entity (i.e.
// channel/subchannel).  Setting it to 0 will disable channel tracing.
func SetMaxTraceEntry(i int32) {}

// ResetMaxTraceEntryToDefault resets the maximum number of trace entries per
// entity to default.
func ResetMaxTraceEntryToDefault() {}

func getMaxTraceEntry() int {}

type traceEvent

type TraceEvent

type ChannelTrace

func (c *ChannelTrace) copy() *ChannelTrace {}

func (c *ChannelTrace) append(e *traceEvent) {}

func (c *ChannelTrace) clear() {}

type Severity

const CtUnknown

const CtInfo

const CtWarning

const CtError

type RefChannelType

const RefUnknown

const RefChannel

const RefSubChannel

const RefServer

const RefListenSocket

const RefNormalSocket

var refChannelTypeToString

func (r RefChannelType) String() string {}

// AddTraceEvent adds trace related to the entity with specified id, using the
// provided TraceEventDesc.
//
// If channelz is not turned ON, this will simply log the event descriptions.
func AddTraceEvent(l grpclog.DepthLoggerV2, e Entity, depth int, desc *TraceEvent) {}