prometheus / procfs

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

Increase Stat() buffer size #547

Closed SuperQ closed 1 year ago

SuperQ commented 1 year ago

Increase the /proc/stat scanner tokens size from the default of 65k to 1024k. This allows for scanning of large intr lines with > 65k columns.

Fixes: https://github.com/prometheus/procfs/issues/546