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

*: optimize runtime.FDUsage + add OS level FD metrics #12214

Merged
merged 3 commits into from
Aug 13, 2020
Merged

Commits on Aug 12, 2020

  1. pkg/runtime: optimize FDUsage by removing sort

    No need sort when we just want the counts.
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    53fdcdc View commit details
    Browse the repository at this point in the history
  2. etcdserver: add OS level FD metrics

    Similar counts are exposed via Prometheus.
    This adds the one that are perceived by etcd server.
    
    e.g.
    
    os_fd_limit 120000
    os_fd_used 14
    process_cpu_seconds_total 0.31
    process_max_fds 120000
    process_open_fds 17
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    421df2e View commit details
    Browse the repository at this point in the history
  3. CHANGELOG: update

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    5678779 View commit details
    Browse the repository at this point in the history