Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cpufreq files with <unknown> values. #304

Open
SuperQ opened this issue May 28, 2020 · 2 comments
Open

Handle cpufreq files with <unknown> values. #304

SuperQ opened this issue May 28, 2020 · 2 comments

Comments

@SuperQ
Copy link
Member

SuperQ commented May 28, 2020

Some systems produce <unknown> values for cpufreq files.

See: prometheus/node_exporter#1710

@Xphobia
Copy link

Xphobia commented May 17, 2021

Any progress on this issue ?

@discordianfish
Copy link
Member

I don't think so, feel free to submit a PR to fix this

rexagod added a commit to rexagod/procfs that referenced this issue Mar 19, 2024
Throw if file has non-numeric data, in addition to hinting the path that
caused the error.

Fixes: prometheus#304, prometheus/node_exporter#1710
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
rexagod added a commit to rexagod/procfs that referenced this issue Mar 19, 2024
Throw if file has non-numeric data, in addition to hinting the path that
caused the error.

Fixes: prometheus#304, prometheus/node_exporter#1710
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants