Skip to content

Support instrumentation for Windows containers #3

Open
@jazeved0

Description

@jazeved0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions