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

Method incrCallsStarted

server.go:1175–1178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1173}
1174
1175func (s *Server) incrCallsStarted() {
1176 s.channelz.ServerMetrics.CallsStarted.Add(1)
1177 s.channelz.ServerMetrics.LastCallStartedTimestamp.Store(time.Now().UnixNano())
1178}
1179
1180func (s *Server) incrCallsSucceeded() {
1181 s.channelz.ServerMetrics.CallsSucceeded.Add(1)

Callers 5

processUnaryRPCMethod · 0.95
processStreamingRPCMethod · 0.95
newClientStreamFunction · 0.45
newNonRetryClientStreamFunction · 0.45
doneChannelzWrapperFunction · 0.45

Calls 2

NowMethod · 0.80
AddMethod · 0.65

Tested by

no test coverage detected