CPU Load Monitoring

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: CPU 负载监控

| username: breakyang

[TiDB Usage Environment] Production Environment / Testing / POC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]

I would like to consult with everyone about the appropriate CPU and memory usage for each component of TiDB under high load and normal load conditions, and how to set Alert rules.

| username: xfworld | Original post link

Just follow the official recommended configuration, there are default Alert rules.

If the configuration is lower than the official recommendation, the Alert rules may need to be adjusted, but they will be less accurate…

| username: zhanggame1 | Original post link

Generally, set a baseline based on your business situation and continuously observe for a period of time.

| username: Kongdom | Original post link

This should be based on your own business. Generally, it is not a fixed value but a percentage.

| username: 昵称想不起来了 | Original post link

It is recommended to conduct reasonable stress testing and then observe to determine the monitoring percentage.