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

Method incrCallsStarted

clientconn.go:966–969  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

964}
965
966func (cc *ClientConn) incrCallsStarted() {
967 cc.channelz.ChannelMetrics.CallsStarted.Add(1)
968 cc.channelz.ChannelMetrics.LastCallStartedTimestamp.Store(time.Now().UnixNano())
969}
970
971func (cc *ClientConn) incrCallsSucceeded() {
972 cc.channelz.ChannelMetrics.CallsSucceeded.Add(1)

Callers

nothing calls this directly

Calls 2

NowMethod · 0.80
AddMethod · 0.65

Tested by

no test coverage detected