Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Migrate GlobalInterceptors to ConfiguratorRegistry (1.64.x backport) #11180

Merged
merged 1 commit into from
May 8, 2024

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented May 8, 2024

This should preserve all the existing behavior of GlobalInterceptors as used by grpc-gcp-observability, including it disabling the implicit OpenCensus integration.

Both the old and new API are internal. I hid Configurator and ConfiguratorRegistry behind Internal-prefixed classes, like had been done with GlobalInterceptors to further discourage use until the API is ready.

GlobalInterceptorsTest was modified to become ConfiguratorRegistryTest.

CC @DNVindhya, @temawi

Backport of #11148

This should preserve all the existing behavior of GlobalInterceptors as
used by grpc-gcp-observability, including it disabling the implicit
OpenCensus integration.

Both the old and new API are internal. I hid Configurator and
ConfiguratorRegistry behind Internal-prefixed classes, like had been
done with GlobalInterceptors to further discourage use until the API is
ready.

GlobalInterceptorsTest was modified to become ConfiguratorRegistryTest.
@ejona86 ejona86 requested a review from temawi May 8, 2024 22:50
@ejona86 ejona86 merged commit 18cf46e into grpc:v1.64.x May 8, 2024
13 checks passed
@ejona86 ejona86 deleted the backport-configurator-registry-1.64 branch May 8, 2024 23:23
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.

None yet

2 participants