Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: Prometheus Metric 中取不到值
【TiDB Usage Environment】Production Environment
【TiDB Version】V5.1.4 ARM
【Encountered Issues】
Unable to retrieve data through PQL queries in Prometheus
Unable to obtain corresponding data when querying various components of the cluster using probe_success
【Reproduction Path】Operations performed that led to the issue
【Issue Phenomenon and Impact】
Below is the test environment (displayed normally):
When I use probe_success{group=“tidb”} to query all TiDB components in the cluster, I can retrieve the data. There are three records, and the group is tidb for all of them.
Unable to get the image in the production environment, but the phenomenon is:
Using probe_success{group=“tidb”} does not retrieve any data, and replacing tidb with other components also does not retrieve data.
Using probe_success{} without group filtering shows data, but none of them have the group field.
Questions:
- Currently, only one set of databases has this issue. What could be the reason?
- How to troubleshoot this issue, and what is the troubleshooting approach?
- Where can I find the configuration information for the probe_success metric?