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

grpc: Add a pointer of server to ctx passed into stats handler #6724

Closed

Conversation

zasweq
Copy link
Contributor

@zasweq zasweq commented Oct 12, 2023

This PR adds a pointer to the grpc.Server into the context passed into the stats handler. It also adds an internal only helper on the server that returns whether a given method is registered or not. This will be used in OpenTelemetry instrumentation for security purposes with respect to the cardinality of the method attribute. Contains and is based on (and technically requires) #6716. The next step after these two PRs is to move the rest of the stats handler callouts to the gRPC layer, get registered methods plumbed client side, canoncalize Target() without breaking it and then the OpenTelemetry instrumentation itself :).

RELEASE NOTES: N/A

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #6724 (06ab8e1) into master (32e3ef1) will decrease coverage by 0.09%.
Report is 2 commits behind head on master.
The diff coverage is 86.48%.

Additional details and impacted files

@zasweq zasweq added the Type: Feature New features or improvements in behavior label Oct 12, 2023
@zasweq zasweq added this to the 1.60 Release milestone Oct 12, 2023
@dfawley dfawley assigned zasweq and unassigned dfawley Oct 25, 2023
@dfawley
Copy link
Member

dfawley commented Oct 25, 2023

I believe this will need to be rebased when you merge #6716?

@zasweq
Copy link
Contributor Author

zasweq commented Oct 25, 2023

Opened a new PR #6750 :).

@zasweq zasweq closed this Oct 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants