Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

xds: Add grpc.target value for xDS enabled server metrics #11715

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

DNVindhya
Copy link
Contributor

@DNVindhya DNVindhya commented Nov 27, 2024

According to gRFC A71 xDS Fallback:

Update CSDS to aggregate configs from multiple XdsClient instances.

The CSDS RPC service will be changed to get data from all XdsClient instances. A new string field named client_scope will be added to the CSDS ClientConfig message to indicate the channel target the data is associated with. For gRPC clients, this field will contain the key channels use to lookup their XdsClient instance, such as dataplane target for client channels or special value "#server" for xDS-enabled gRPC servers.

Updated dataplane target value to "#server" for xDS enabled servers.

The dataplane target value of "#server" will also be used as grpc.target attribute value for xDS client metrics implemented in #11661.

@DNVindhya DNVindhya requested a review from ejona86 November 27, 2024 18:16
@DNVindhya DNVindhya changed the title xds: Add grpc.target value for xDS enabled servers xds: Add grpc.target value for xDS enabled server metrics Nov 27, 2024
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The better reference here is probably fallback. https://github.com/grpc/proposal/blob/master/A71-xds-fallback.md#update-csds-to-aggregate-configs-from-multiple-xdsclient-instances says servers use #server. The metrics gRFC is just saying "the same thing applies here"

@DNVindhya
Copy link
Contributor Author

The better reference here is probably fallback. https://github.com/grpc/proposal/blob/master/A71-xds-fallback.md#update-csds-to-aggregate-configs-from-multiple-xdsclient-instances says servers use #server. The metrics gRFC is just saying "the same thing applies here"

Thanks for the background, updated PR description to refer to A71 instead.

@DNVindhya DNVindhya merged commit ebb43a6 into grpc:master Nov 27, 2024
15 checks passed
@DNVindhya DNVindhya deleted the xds-client-metrics-for-server branch November 27, 2024 18:59
larry-safran pushed a commit to larry-safran/grpc-java that referenced this pull request Dec 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants