prometheus / prometheus/procfs
Error Handling for Offline Thermal Zones
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 883
- Forks
- 388
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 3
Description
Description:
When procfs try to read the offline thermal zones, it gets stuck. please check this issue for more details.
Device:
- Jetson Orin Nano
- Linux 5.15.136-tegra
- node_exporter version 1.9.0
for ex, when it tries to read thermal_zone2, it gets stuck.
$ cat /sys/class/thermal/thermal_zone2/temp
cat: /sys/class/thermal/thermal_zone2/temp: Resource temporarily unavailable
It would be helpful if it could handle this scenario more gracefully.
I have attempted to trace the error, here is the backtrace:
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 by locating the procfs code that reads Linux thermal zones and reproduce the failure with the Jetson Orin Nano details and thermal_zone2 path. Trace how the Resource temporarily unavailable error is handled, then verify that offline zones no longer leave collection stuck and that the existing thermal-zone behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100