package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Functions

CallMetricsRecorderFromContext returns the RPC-specific custom metrics recorder embedded in the provided RPC context.
CallMetricsServerOption returns a server option which enables the reporting of per-RPC custom backend metrics for unary and streaming RPCs.
NewServerMetricsRecorder returns an in-memory store for ServerMetrics and allows for safe setting and retrieving of ServerMetrics.
NewService creates a new ORCA service implementation configured using the provided options.
Register creates a new ORCA service implementation configured using the provided options and registers the same on the provided grpc Server.
RegisterOOBListener registers an out-of-band load report listener on a Ready sc.

# Structs

OOBListenerOptions contains options to control how an OOBListener is called.
ServerMetrics is the data returned from a server to a client to describe the current state of the server and/or the cost of a request when used per-call.
Service provides an implementation of the OpenRcaService as defined in the [ORCA] service protos.
ServiceOptions contains options to configure the ORCA service implementation.

# Interfaces

CallMetricsRecorder allows a service method handler to record per-RPC metrics.
OOBListener is used to receive out-of-band load reports as they arrive.
A ServerMetricsProvider provides ServerMetrics upon request.
ServerMetricsRecorder allows for recording and providing out of band server metrics.