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

Method SetRequestCost

orca/call_metrics.go:39–39  ·  view source on GitHub ↗

SetRequestCost sets the relevant server metric.

(name string, val float64)

Source from the content-addressed store, hash-verified

37
38 // SetRequestCost sets the relevant server metric.
39 SetRequestCost(name string, val float64)
40 // DeleteRequestCost deletes the relevant server metric to prevent it
41 // from being sent.
42 DeleteRequestCost(name string)

Callers 4

setORCAMetricsFunction · 0.65
UnaryEchoMethod · 0.65

Implementers 1

serverMetricsRecorderorca/server_metrics.go

Calls

no outgoing calls

Tested by 2