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

txnsnapshot, stats: export stats information about RPC count #1110

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

YangKeao
Copy link
Member

To collect the stats information of index usage (and show the KV requests to the user), the count of RPC stored inside is helpful.

The actual use case is to call rs.GetCmdRPCCount(tikvrpc.CmdGet) and rs.GetCmdRPCCount(tikvrpc.CmdBatchGet).

BTW, I also upgrade the tidb and tidb/pkg/parser in the integration_tests to run the test.

Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
@disksing disksing merged commit abda04c into tikv:master Jan 12, 2024
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