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

add support to measure message delivery's time from the StreamingCallSink's #632

Open
tonyxuqqi opened this issue Sep 28, 2023 · 0 comments
Assignees

Comments

@tonyxuqqi
Copy link

Is your feature request related to a problem? Please describe.
It's hard to measure the message sent time from client perspective----the time between the call of start_send and server's reception of the message.
The background is that when TiKV's commit log duration is high but TiKV's IO and raftstore seems normal, it's hard to tell if it's because of the caller (e.g. raftclient's) bug, or the network issue or grpc crate's buffering mechanism.

Describe the solution you'd like
Provide some callback mechanism when the messages are sent in start_send.

Describe alternatives you've considered
Provide the out of box grafana metrics

Additional context
None

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