Where is the data of information_schema.CLUSTER_HARDWARE collected?

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

Original topic: information_schema.CLUSTER_HARDWARE的数据是在哪里收集的?

| username: TiDBer_gevz1uW1

【TiDB Usage Environment】Testing
【TiDB Version】
【Reproduction Path】
【Encountered Issues: Problem Phenomenon and Impact】 Upon reviewing the code, it was found that telemetry collects cluster parameters, but it is unclear where this data is collected from, raising concerns about what data is being collected.
【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】

| username: onlyacat | Original post link

I remember that each node reports on its own.

If you want to check, you have to look through the code of different instances.

| username: buddyyuan | Original post link

You can see the code in telemetry/data_cluster_hardware.go for specific collection details.

| username: 我是咖啡哥 | Original post link

You have all the code out, impressive :+1:
Do you usually download the code to your local machine to view it, or do you view it directly on GitHub?

| username: TiDBer_gevz1uW1 | Original post link

You can navigate locally and perform a global search.

| username: buddyyuan | Original post link

Download it locally and open it with Goland.

| username: TiDBer_gevz1uW1 | Original post link

I couldn’t find the code for this collection. Has anyone found it?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.