MCPcopy
hub / github.com/grpc/grpc-go / Trace

Method Trace

internal/channelz/channel.go:85–89  ·  view source on GitHub ↗

Trace returns a copy of the Channel's trace data.

()

Source from the content-addressed store, hash-verified

83
84// Trace returns a copy of the Channel's trace data.
85func (c *Channel) Trace() *ChannelTrace {
86 db.mu.RLock()
87 defer db.mu.RUnlock()
88 return c.trace.copy()
89}
90
91// ChannelMetrics holds connectivity state, target and call metrics for the
92// channel within channelz.

Calls 1

copyMethod · 0.80