prometheus / procfs

procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Apache License 2.0
755 stars 311 forks source link

util: throw if file has !digit characters #614

Closed rexagod closed 2 months ago

rexagod commented 3 months ago

Throw if file has non-numeric data, in addition to hinting the path that caused the error.

Fixes: prometheus#304, prometheus/node_exporter#1710

discordianfish commented 3 months ago

See ci errors