-
Notifications
You must be signed in to change notification settings - Fork 321
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
Couldn't parse \"/proc/stat\": bufio.Scanner: token too long #546
Comments
That's content of |
This is a parsing issue in procfs. Moving to the correct repo. |
Wow, there are 65962 columns in that |
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: #546 Signed-off-by: SuperQ <superq@gmail.com>
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. * Increase the scanner buffer from the default 4kB to 8kB bytes at a time. Fixes: #546 Signed-off-by: SuperQ <superq@gmail.com>
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. * Increase the scanner buffer from the default 4kB to 8kB bytes at a time. Fixes: #546 Signed-off-by: SuperQ <superq@gmail.com>
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. * Increase the scanner buffer from the default 4kB to 8kB bytes at a time. Fixes: #546 Signed-off-by: SuperQ <superq@gmail.com>
Could you tell me how to increase those parses, "Increase the /proc/stat scanner tokens size from the default of 65k to |
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. * Increase the scanner buffer from the default 4kB to 8kB bytes at a time. Fixes: prometheus#546 Signed-off-by: SuperQ <superq@gmail.com>
Host operating system:
Linux k42jv 6.4.2 prometheus/node_exporter#1 SMP PREEMPT_DYNAMIC Thu Jul 6 15:29:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version:
node_exporter command line flags
node_exporter log output
log
Are you running node_exporter in Docker?
No
What did you do that produced an error?
Run node_exporter on my laptop with latest kernels
What did you expect to see?
I don't see some metrics like
node_boot_time_seconds
ornode_cpu_seconds_total
What did you see instead?
Nothing. Only log above
The text was updated successfully, but these errors were encountered: