Skip to content
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

fix(host_metrics source): Include cgroups2 root memory metrics #20294

Merged

Commits on Apr 12, 2024

  1. fix(host_metrics source): cgroups2 memeory metrics from root

    * cgroup_memory_anon_bytes and cgroup_memory_file_bytes are no longer
      zero on cgroups v2 systems
    * test sources::host_metrics::cgroups::tests::generates_cgroups_metrics
      should no longer flap
    
    I'm not sure why the is_root check was there for cgroups v2. Memory is
    only in the root cgroup dir. No child dirs exist in cgroup root on my machine.
    bwerthmann committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    e8e97ee View commit details
    Browse the repository at this point in the history