Commit 7ded9ae
in_node_exporter_metrics: Increase buffer size to read /proc/stat correctly
The "intr" entry of proc stat can be larger than 512 chars, and generate errors
leading to stalled CPU metrics if it's the wrong length.
Signed-off-by: Pierre-Yves Rofes <[email protected]>1 parent 8cc6da6 commit 7ded9ae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments