Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Get VM container real metric #822

@Ace-Tang

Description

@Ace-Tang

Description of problem

I am working on some container metric things, found that docker/pouch can not get right kata container metric informations. because if we use runc container, docker can get cpu/memory/pid/blkio infomation from cgroup and proc/stats on the host, but for kata, since it is a vm, we can not get information from host, if we want to get right things, we should get the file inside vm.

Here I think about a simple and crude way to get this information. Get file through exec command, and resolve the data in the pouch side, filling container metric with this thing.

I am not get better idea for how to get metric in kata container, so I want to ask for some help here, thanks.

Expected result

(replace this text with an explanation of what you thought would happen)

Actual result

(replace this text with details of what actually happened)


(replace this text with the output of the kata-collect-data.sh script, after
you have reviewed its content to ensure it does not contain any private
information).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions