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

Method HandleRPC

stats/handlers.go:59–59  ·  view source on GitHub ↗

HandleRPC processes the RPC stats.

(context.Context, RPCStats)

Source from the content-addressed store, hash-verified

57 TagRPC(context.Context, *RPCTagInfo) context.Context
58 // HandleRPC processes the RPC stats.
59 HandleRPC(context.Context, RPCStats)
60
61 // TagConn can attach some information to the given context.
62 // The returned context will be used for stats handling.

Callers 15

sendResponseMethod · 0.65
processUnaryRPCMethod · 0.65
processStreamingRPCMethod · 0.65
handleStreamMethod · 0.65
newAttemptLockedMethod · 0.65
getTransportMethod · 0.65
sendMsgMethod · 0.65
recvMsgMethod · 0.65
finishMethod · 0.65
SendMsgMethod · 0.65
RecvMsgMethod · 0.65
writeStatusMethod · 0.65

Implementers 15

testStatsHandlertest/clientconn_test.go
retryStatsHandlertest/retry_test.go
statsHandlerRecordEventstest/end2end_test.go
peerStatsHandlertest/stats_test.go
fakeStatsHandlertest/xds/xds_telemetry_labels_test.go
mockStatsHandlerinternal/transport/handler_server_test
StubStatsHandlerinternal/testutils/stubstatshandler.go
TestMetricsRecorderinternal/testutils/stats/test_metrics_
combinedHandlerinternal/stats/stats.go
Handlerexamples/features/stats_monitoring/sta
statshandlerstats/stats_test.go
clientStatsHandlerstats/opencensus/opencensus.go

Calls

no outgoing calls

Tested by

no test coverage detected