package
1.51.4
Repository: https://github.com/lfch/grpc.git
Documentation: pkg.go.dev

# Functions

CallMetricRecorderFromContext returns the RPC specific custom metrics recorder [CallMetricRecorder] 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.
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 service registrar.
ToLoadReport unmarshals a binary encoded [ORCA LoadReport] protobuf message from md and returns the corresponding struct.

# Variables

ErrLoadReportMissing indicates no ORCA load report was found in trailers.

# Structs

CallMetricRecorder provides functionality to record per-RPC custom backend metrics.
Service provides an implementation of the OpenRcaService as defined in the [ORCA] service protos.
ServiceOptions contains options to configure the ORCA service implementation.