Skip to content

Conversation

@murgatroid99
Copy link
Member

This implements the server-side per-call metrics part of gRFC A51. This adds the channel option grpc.server_call_metric_recording which enables the feature on the server, and adds the getMetricsRecorder method to the call object that is passed to each method handler. The metrics recorder object has the exact API described in the gRFC.

This feature is the first instance of an xds proto being used in the core library, and they need to be published in the library. I already had those protos available in a submodule in the grpc-js-xds directory, so I added a pre-build script to copy the relevant files into the grpc-js directory.

@murgatroid99 murgatroid99 merged commit eaa3f4d into grpc:master Jul 23, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants