Skip to content

Commit

Permalink
Update dashboard/dashboard-resource-manager.md
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
CabinfeverB and hfxsd authored Jul 6, 2023
1 parent ff1714e commit 9b528a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/dashboard-resource-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Before resource planning, you need to know the overall capacity of the cluster.

- When the workload within the time window is too low, the following error is displayed `ERROR 1105 (HY000): The workload in selected time window is too low, with which TiDB is unable to reach a capacity estimation; please select another time window with higher workload, or calibrate resource by hardware instead` is displayed.

- The capacity estimation based on actual workload needs to Prometheus metric data, including `resource_manager_resource_unit`, `process_cpu_usage`, `tikv_cpu_quota`, and `tidb_server_maxprocs`. If the corresponding metrics data is empty, an error is displayed indicating the name of the metrics item, for example `Error 1105 (HY000): metrics 'resource_manager_resource_unit' is empty`. And `resource_manager_resource_unit` is empty when no workload, so this error will also be reported. In addition, TiKV does not monitor CPU usage metrics on macOS, it does not support capacity estimation based on actual workload and the following error is displayed `ERROR 1105 (HY000): metrics 'process_cpu_usage' is empty`.
- The capacity estimation function requires monitoring metrics data according to the actual workload, including `resource_manager_resource_unit`, `process_cpu_usage`, `tikv_cpu_quota`, and `tidb_server_maxprocs`. If the corresponding monitor data is empty, an error is reported with the corresponding monitor item name, such as `Error 1105 (HY000): metrics 'resource_manager_resource_unit' is empty`. When there is no workload, `resource_manager_resource_unit` is empty, and this error is also reported. In addition, because TiKV does not monitor CPU usage on macOS, it does not support capacity estimation based on actual workload and will report `ERROR 1105 (HY000): metrics 'process_cpu_usage' is empty`.

You can select an appropriate time range using **CPU Usage** in the [Metrics](#metrics) section.

Expand Down

0 comments on commit 9b528a5

Please sign in to comment.