Collect specifics about machine type and architecture
What does this MR do?
Add machine/sysname/release in topology usage ping.
It collects these 3 pieces of information from node exporter metrics node_uname_info
:
-
machine
- machine CPU architecture. This can also help us identifyRaspberry Pi
platform. -
sysname
- OS system name. -
release
- OS kernel release. This could identify the major cloud providers(GCP, AWS, or Azure, etc). Such asrelease="4.15.0-1052-gcp"
indicates the node is from GCP.
In the whole topology
usage data, the collected data is node_uname_info
in each node level data:
...
nodes: [
{
...
node_uname_info: {
machine: 'x86_64',
sysname: 'Linux',
release: '4.19.76-linuxkit'
},
...
},
...
]
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Closes #220840 (closed)
Edited by Qingyu Zhao