Skip to content

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 identify Raspberry Pi platform.
  • sysname - OS system name.
  • release - OS kernel release. This could identify the major cloud providers(GCP, AWS, or Azure, etc). Such as release="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

Closes #220840 (closed)

Edited by Qingyu Zhao

Merge request reports