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

Method SetCPUUtilization

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

SetCPUUtilization sets the CPU utilization server metric. Must be greater than zero.

(float64)

Source from the content-addressed store, hash-verified

101 // SetCPUUtilization sets the CPU utilization server metric. Must be
102 // greater than zero.
103 SetCPUUtilization(float64)
104 // DeleteCPUUtilization deletes the CPU utilization server metric to
105 // prevent it from being sent.
106 DeleteCPUUtilization()

Implementers 1

serverMetricsRecorderorca/server_metrics.go

Calls

no outgoing calls