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

feat: cgroups host collector #1581

Merged
merged 8 commits into from
Jul 24, 2024
Merged

feat: cgroups host collector #1581

merged 8 commits into from
Jul 24, 2024

Commits on Jul 19, 2024

  1. feat: cgroups host collector

    Linux control groups host collector that detects whether the specified
    mountPath is a cgroup filesystem and what version it is.
    The collector also collects information of the configured cgroup controllers.
    
    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    13e0d27 View commit details
    Browse the repository at this point in the history
  2. Its a mountPoint not a mountPath

    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    ef2cb98 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Sort controllers list to keep output consistent

    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    d960717 View commit details
    Browse the repository at this point in the history
  2. Add a list of all controllers in the system

    This list makes it easy for an analyser that would
    like to check if a controller is present
    
    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    da4c14b View commit details
    Browse the repository at this point in the history
  3. Ensure all controllers list is sorted as well

    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    1686e31 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Changes from PR comments

    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a3489ab View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    83e4c4e View commit details
    Browse the repository at this point in the history
  2. Correctly check cpuacct controller in cgroup v2

    Signed-off-by: Evans Mungai <evans@replicated.com>
    banjoh committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    60d5ca3 View commit details
    Browse the repository at this point in the history