Package io.grpc.xds.orca
package io.grpc.xds.orca
-
ClassDescriptionA
ServerInterceptorthat intercepts aServerCallby running server-side RPC handling under aContextthat 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 forLoadBalancerto 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.OrcaReportingHelperwraps a delegatedLoadBalancer.Helperwith additional functionality to manage RPCs for out-of-band ORCA reporting for each backend it establishes connection to.Utility class that provides method forLoadBalancerto 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.OrcaPerRequestReportListeners and invoke all of them when anOrcaLoadReportis received.AnOrcaPerRequestUtil.OrcaReportingTracerFactorywraps a delegatedClientStreamTracer.Factorywith additional functionality to produceClientStreamTracerinstances that extract per-request ORCA reports and push to registered listeners for calls they trace.Implements aBindableServicethat generates Out-Of-Band server metrics.