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

style: returns procfs build-in error like other parsing methods #630

Closed weidongkl closed 2 months ago

weidongkl commented 2 months ago

For file parsing errors, procfs defines error ErrFileParse. Other architectures, such as x86 ,arm,mips, use ErrFileParse to return parsing errors. Loong should do this too.