orca.proto 1.7 KB

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