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

Include CPU usage (TiDB, TiKV) in system tables #55542

Closed
yibin87 opened this issue Aug 21, 2024 · 1 comment · Fixed by #55455
Closed

Include CPU usage (TiDB, TiKV) in system tables #55542

yibin87 opened this issue Aug 21, 2024 · 1 comment · Fixed by #55455
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@yibin87
Copy link
Contributor

yibin87 commented Aug 21, 2024

Enhancement

For information_schema.processlist/cluster_processlist(Note, don't add related columns for "show processlists" command, since the command only shows basic info):
TIDB_CPU
TIKV_CPU

For information_schema.slow_query/cluster_slow_query(Follows previous slow_query column names conventions):
Tidb_cpu_time
Tikv_cpu_time

For information_schema.statements_summary/cluster_statements_summary:
AVG_TIDB_CPU_TIME
AVG_TIKV_CPU_TIME

For information_schema.statements_summary_history/cluster_statements_summary_history:
AVG_TIDB_CPU_TIME
AVG_TIKV_CPU_TIME

@yibin87 yibin87 added the type/enhancement The issue or PR belongs to an enhancement. label Aug 21, 2024
@yibin87
Copy link
Contributor Author

yibin87 commented Aug 21, 2024

/assign @yibin87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant