Running Metricbeat on AKS v1.16.3, seeing the following error in logs:
instance/metrics.go:285 error getting group status: open /proc/<PID>/cgroup: no such file or directory"
I'm new to beats and, after several hours of searching (and fiddling with system module's "process.cgroups.enabled"), i'm getting nowhere. Any suggestions or pointers to resources would be very much appreciated.
I'm seeing the same thing on AKS v1.18 and Metricbeat 7.10.0. It seems like Metricbeat isn't respecting the system.hostfs flag because I can see the directory it's looking for at /hostfs/proc/<PID>/cgroup, but it's looking in /proc/<PID>/cgroup.
This error is not related to Metricbeat's system module, but to a new feature in Beats internal monitoring.
The system module is still understanding the -system.hostfs flag and reporting metrics correctly. The only effect of this error is that the internal monitoring metrics from Metricbeat are lacking the new cgroups data.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.