api: add fields for propagation of ORCA to LRS#35210
Conversation
Signed-off-by: Mark D. Roth <roth@google.com>
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
format wants you to apply: |
Signed-off-by: Mark D. Roth <roth@google.com>
|
/retest |
| // The metric names in LRS will follow the same semantics as this field. In other words, if this field | ||
| // contains ``named_metrics.foo``, then the LRS load report will include the data with that same string | ||
| // as the key. | ||
| repeated string lrs_report_endpoint_metric = 57; |
There was a problem hiding this comment.
Note that this isn't a plural, but all the other repeated fields I'm seeing adjacent to this PR are plural. Not sure if this kind of consistency is important to Envoy maintainers, just calling it out.
There was a problem hiding this comment.
Hi, @markdroth is this field used in gRPC or not? If it haven't be released in gRPC, I think we can re-evaluate/update it.
There was a problem hiding this comment.
We haven't started using it yet. I'm fine with changing the name to be plural.
Commit Message: api: add fields for propagation of ORCA to LRS
Additional Description: Add fields in CDS to control which ORCA fields get propagated to LRS. Also add fields in LRS for top-level ORCA metrics, to avoid having to encode the field name in LRS for these common cases.
Risk Level: Low
Testing: N/A
Docs Changes: Included in PR
Release Notes: N/A
Platform Specific Features: N/A
CC @efimki @AndresGuedez @ejona86 @dfawley @vishalpowar