Skip to content

How to find out the connection establishment time #2200

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

Open
MRSorokinMaxim opened this issue Feb 19, 2025 · 2 comments
Open

How to find out the connection establishment time #2200

MRSorokinMaxim opened this issue Feb 19, 2025 · 2 comments

Comments

@MRSorokinMaxim
Copy link

If i need to measure the time taken for a rpc connection over TLS, i may need to track connection establishment time, handshake duration, and request latency. Are there specific recommended for this, and how can they be implemented in practice? How can this be done technically?

@glbrntt
Copy link
Collaborator

glbrntt commented Feb 24, 2025

Hi, thanks for filing this issue. First of all, are you using v1 or v2?

Getting this information from gRPC isn't currently possible. It's possible for us to get this information and expose it but designing the right API here quires some consideration.

@MRSorokinMaxim
Copy link
Author

Thanks for your reply! We are using v1. But we will be upgrading to v2 in the future.

It’s really important for us to get insights into connection establishment time, handshake duration, and request latency. This would help us better analyze the performance of RPC connections over TLS. It would be great if such functionality could be added.

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

No branches or pull requests

2 participants