prometheus-node-exporter-lua: duplicate sample with mt7996 and multiple radios
Open
Nobody has claimed this yet.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
prometheus-node-exporter-lua
Maintainer
@champtar
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
- enable multiple radios
- prometheus will report:
time=2026-01-24T17:18:16.179Z level=WARN source=scrape.go:1949 msg="Error on ingesting samples with different value but same timestamp" component="scrape manager" scrape_pool=node-exporter target=http://<ip>:9100/metrics num_dropped=2
node_hwmon_chip_names{chip_name="mt7996_phy0.0",chip="ieee80211_phy0"} 1
node_hwmon_temp_celsius{sensor="temp1",chip="ieee80211_phy0"} 49
node_hwmon_chip_names{chip_name="mt7996_phy0.1",chip="ieee80211_phy0"} 1
node_hwmon_temp_celsius{sensor="temp1",chip="ieee80211_phy0"} 49
node_hwmon_chip_names{chip_name="mt7996_phy0.2",chip="ieee80211_phy0"} 1
node_hwmon_temp_celsius{sensor="temp1",chip="ieee80211_phy0"} 51
Actual Behaviour
The chip name label is missing because the chips are identical. My proposed fix (PR #28092) works locally, but the CI build fails with unrelated package errors. Assistance in debugging the logs would be appreciated.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with proposed PR #28092 and its CI failure logs, then reproduce the reported metrics with multiple radios and identical mt7996 chips. Done means the exporter no longer produces duplicate samples and the package passes CI; no source file or test path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, prometheus
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100