Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiDB Dashboard TiDB CPU&Memory指标监控不显示
[TiDB Usage Environment] Production Environment
[TiDB Version] v6.2.0
[Encountered Issue]
The CPU & Memory metrics in the TiDB Dashboard monitoring are displayed as blank.
[Issue Phenomenon and Impact]
By querying through the browser console, it was found that the query statement is rate(process_cpu_seconds_total{job=“tidb”}[60s])
However, when querying in Prometheus, process_cpu_seconds_total{cluster=“prod-tidb”,component=“tidb”,instance=“prod-tidb-tidb-1”,job=“base-server-prod-tidb-tidb”,kubernetes_namespace=“base-server”,tidb_cluster=“base-server-prod-tidb”}
There is an issue with the query fields.