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

Method SetNamedUtilization

orca/server_metrics.go:138–138  ·  view source on GitHub ↗

SetNamedUtilization sets the named utilization server metric for the name provided. val must be in the range [0, 1].

(name string, val float64)

Source from the content-addressed store, hash-verified

136 // SetNamedUtilization sets the named utilization server metric for the
137 // name provided. val must be in the range [0, 1].
138 SetNamedUtilization(name string, val float64)
139 // DeleteNamedUtilization deletes the named utilization server metric for
140 // the name provided to prevent it from being sent.
141 DeleteNamedUtilization(name string)

Implementers 1

serverMetricsRecorderorca/server_metrics.go

Calls

no outgoing calls