Package io.grpc.xds.orca
package io.grpc.xds.orca
-
ClassDescriptionA
ServerInterceptor
that intercepts aServerCall
by running server-side RPC handling under aContext
that records custom per-request metrics provided by server applications and sends to client side along with the response in the format of Open Request Cost Aggregation (ORCA).Utility class that provides method forLoadBalancer
to install listeners to receive out-of-band backend metrics in the format of Open Request Cost Aggregation (ORCA).The listener interface for receiving out-of-band ORCA reports from backends.Configuration for out-of-band ORCA reporting service RPC.AnOrcaOobUtil.OrcaReportingHelper
wraps a delegatedLoadBalancer.Helper
with additional functionality to manage RPCs for out-of-band ORCA reporting for each backend it establishes connection to.Utility class that provides method forLoadBalancer
to install listeners to receive per-request backend cost metrics in the format of Open Request Cost Aggregation (ORCA).The listener interface for receiving per-request ORCA reports from backends.A container class to hold registeredOrcaPerRequestUtil.OrcaPerRequestReportListener
s and invoke all of them when anOrcaLoadReport
is received.AnOrcaPerRequestUtil.OrcaReportingTracerFactory
wraps a delegatedClientStreamTracer.Factory
with additional functionality to produceClientStreamTracer
instances that extract per-request ORCA reports and push to registered listeners for calls they trace.Implements aBindableService
that generates Out-Of-Band server metrics.