Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Describe the feature you'd like:
Record some system events in TiKV just like the CH does. Then we can support SQL query in TiDB to help diagnose the TiKV by utilizing these events.
How about adding some DTrace probes as MySQL does and collecting metrics by eBPF or other dynamic tracing tools? I think this way is more extensible and can benefit from the community of dynamic tracing.
MySQL DTrace probes: https://dev.mysql.com/doc/refman/5.7/en/dba-dtrace-mysqld-ref.htm