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

Struct serverMetricsRecorder

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

Source from the content-addressed store, hash-verified

142}
143
144type serverMetricsRecorder struct {
145 state atomic.Pointer[ServerMetrics] // the current metrics
146}
147
148// NewServerMetricsRecorder returns an in-memory store for ServerMetrics and
149// allows for safe setting and retrieving of ServerMetrics. Also implements

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected