Grafana shows "No Data" for CPU display

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

Original topic: Grafana 展示cpu 显示nodata

| username: TiDBer_yyy

Monitoring path: overview → tikv → cpu
Version: 5.0.4
Installation method: tiup installation
Issue: When checking the CPU usage of each instance, I found “nodata” and the following prompt:

"query processing would load too many samples into memory in query execution"

| username: songxuecheng | Original post link

Try running tiup cluster reload xxx -R prometheus and check the load on the monitoring machine.

| username: TiDBer_yyy | Original post link

After the restart, it did not take effect.

The load on the monitoring machine is relatively low.

PS: In the usage environment, replace IP with hostname, and other monitoring metrics can display the corresponding hostname.

sed -i.bak -e "s/172.0.0.1\b/hostname1/g" -e "s/172.0.0.2\b/hostname2/g" prometheus.yml

| username: songxuecheng | Original post link

Please share the Prometheus logs.

| username: TiDBer_yyy | Original post link

tmp_prom.log (1.4 MB)

| username: jansu-dev | Original post link

Did you modify the default Prometheus configuration provided by TiDB?

| username: TiDBer_yyy | Original post link

Thank you, the issue has been resolved.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.