prometheus / prometheus/node_exporter

wifi collector not exposing all metrics on arm64 platform

Open
#1,844 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug platform/Linux
Dominant language
Go
Stars
13.8k
Forks
2.7k
Avg merge
1d 23h
Merged PRs (30d)
8

Description

Host operating system: output of uname -a

Linux veeve-id-v1-cid-beta-kroger-040101 4.9.140-tegra #1 SMP PREEMPT Thu Jun 25 21:22:12 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.0.1 (branch: HEAD, revision: 3715be6ae899f2a9b9dbfd9c39f3e09a7bd4559f)
build user: root@1f76dbbcfa55
build date: 20200616-12:46:57
go version: go1.14.4

node_exporter command line flags

node_exporter --collector.wifi --web.listen-address=":9101"

Are you running node_exporter in Docker?

No

What did you do that produced an error?

Just ran the command shared above on arm64 device (xavier-AGX actually)

What did you expect to see?

All the 11 metrics exposed by amd64 node exporter

What did you see instead?

Only the following two metrics

node_wifi_interface_frequency_hertz
node_wifi_station_info
Description

It seems that node exporter has a bug for arm64 devices where it can't expose all the wifi collector metrics. I am mainly looking for signal quality metric which is exposed by iwconfig in both arm64 and amd64.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the node_exporter --collector.wifi entry point and reproduce the metric output on the reported arm64 system. Compare it with the 11 metrics expected from amd64 and the signal quality reported by iwconfig; done means the wifi collector exposes the missing metrics, including signal quality, on arm64.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
observability-sre, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.