ERROR metrics/metrics.go:376 error getting cgroup stats: error fetching stats for controller io: error fetching IO stats: error fetching io.pressure for path /sys/fs/cgroup:: open /sys/fs/cgroup/io.pressure: no such file or directory

Hello World!

I'm following Run Filebeat on Docker | Filebeat Reference [7.17] | Elastic, yet seeing following ERROR in my logs (over and over):

filebeat | 2022-06-21T21:08:17.932Z ERROR metrics/metrics.go:376 error getting cgroup stats: error fetching stats for controller io: error fetching IO stats: error fetching io.pressure for path /sys/fs/cgroup:: open /sys/fs/cgroup/io.pressure: no such file or directory

I'm using latest filebeat-7.17.X version.

btw, I'm getting same message with metricbeat as well

metricbeat | 2022-06-21T21:36:18.052Z ERROR metrics/metrics.go:376 error getting cgroup stats: error fetching stats for controller io: error fetching IO stats: error fetching io.pressure for path /hostfs/sys/fs/cgroup:: open /hostfs/sys/fs/cgroup/io.pressure: no such file or directory

Please advise.

I think you should check this

@Adriann , thank you for taking your time to answer my question, i really do appreciate that!

I see that it seems like they already fixed with 8.1.2+, but not in version 7 just yet and it's safe to ignore it as well as it only affects own monitoring.

thank you!

ref:

1 Like