nokia / srlinux-container-image

Freely distributed official SR Linux container image
https://learn.srlinux.dev
BSD 3-Clause "New" or "Revised" License
52 stars 8 forks source link

SRL Container not showing any resource usage on `docker stats` #2

Open Cobular opened 2 years ago

Cobular commented 2 years ago

Hello,

I'm currently stuck trying to figure out how I can get resource use statistics from an SRL container. On my host, every other docker container returns stats to both the docker stats command and the stats endpoint on the engine API however the SRL container always returns 0s across the board, even for the timestamp on the stats api request. Do any of you know what would be causing this or how I can work around it? Are you doing anything particularly unusual with cgroups inside the docker container?

I'm happy to provide any logs needed, just not quite sure what that'd be yet.

Thanks!

hellt commented 2 years ago

Hi @Cobular yes, the stats for the lab container have been all zeroes for a long time. I'll check if this gonna change in the future