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

Support instrumentation for Windows containers #3

Open
jazeved0 opened this issue Apr 3, 2020 · 0 comments
Open

Support instrumentation for Windows containers #3

jazeved0 opened this issue Apr 3, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jazeved0
Copy link
Member

jazeved0 commented Apr 3, 2020

Reasoning

Being able to collect statistics on Windows containers would greatly benefit rAdvisor and allow it to become a universal tool for collecting container resource utilization statistics with fine granularity and low overhead.

Background

The current implementation of rAdvisor relies on the Linux kernel and its functionality in cgroups. Since first-party containerization functionality was added to Windows 10/Windows Server 2016, it is now possible to run and monitor Windows containers running on a Windows host.

While most of the code in the rAdvisor project is platform agnostic (such as timing, cli parsing, polling, logging, shell), the core cgroups resolution / collection code relies on the public interfaces of cgroups, and as such, won't work on Windows. docker stats seems to support Windows in its collecton (it has Windows-specific fields in its Stats schema).

There is a Rust binding library for Host Compute Services (HCS), the Windows kernel component used to support containerization:

Related Links

@jazeved0 jazeved0 added enhancement New feature or request help wanted Extra attention is needed labels Apr 3, 2020
@jazeved0 jazeved0 changed the title feat: support instrumentation for Windows containers Support instrumentation for Windows containers Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant