Debian Codegraph @

udpa/service/orca/v1/orca.proto

raw
1 // THIS FILE IS DEPRECATED
2 // Users should instead use the corresponding proto in the xds tree.
3 // No new changes will be accepted here.
4
5 syntax = "proto3";
6
7 package udpa.service.orca.v1;
8
9 option java_outer_classname = "OrcaProto";
10 option java_multiple_files = true;
11 option java_package = "com.github.udpa.udpa.service.orca.v1";
12 option go_package = "github.com/cncf/xds/go/udpa/service/orca/v1";
13
14 import "udpa/data/orca/v1/orca_load_report.proto";
15
16 import "google/protobuf/duration.proto";
17
18 // See section `Out-of-band (OOB) reporting` of the design document in
19 // :ref:`https://github.com/envoyproxy/envoy/issues/6614`.
20
21 // Out-of-band (OOB) load reporting service for the additional load reporting
22 // agent that does not sit in the request path. Reports are periodically sampled
23 // with sufficient frequency to provide temporal association with requests.
24 // OOB reporting compensates the limitation of in-band reporting in revealing
25 // costs for backends that do not provide a steady stream of telemetry such as
26 // long running stream operations and zero QPS services. This is a server
27 // streaming service, client needs to terminate current RPC and initiate
28 // a new call to change backend reporting frequency.
29 service OpenRcaService {
30 rpc StreamCoreMetrics(OrcaLoadReportRequest) returns (stream udpa.data.orca.v1.OrcaLoadReport);
31 }
32
33 message OrcaLoadReportRequest {
34 // Interval for generating Open RCA core metric responses.
35 google.protobuf.Duration report_interval = 1;
36 // Request costs to collect. If this is empty, all known requests costs tracked by
37 // the load reporting agent will be returned. This provides an opportunity for
38 // the client to selectively obtain a subset of tracked costs.
39 repeated string request_cost_names = 2;
40 }