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

Method incrCallsFailed

server.go:1184–1186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1182}
1183
1184func (s *Server) incrCallsFailed() {
1185 s.channelz.ServerMetrics.CallsFailed.Add(1)
1186}
1187
1188func (s *Server) sendResponse(ctx context.Context, stream *transport.ServerStream, msg any, cp Compressor, opts *transport.WriteOptions, comp encoding.Compressor) error {
1189 data, err := encode(s.getCodec(stream.ContentSubtype()), msg)

Callers 5

processUnaryRPCMethod · 0.95
processStreamingRPCMethod · 0.95
endOfClientStreamFunction · 0.45
finishMethod · 0.45
doneChannelzWrapperFunction · 0.45

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected