bottlerocket-os / bottlerocket

An operating system designed for hosting containers
https://bottlerocket.dev
Other
8.55k stars 502 forks source link

Missing cAdvisor metrics #3733

Open applike-ss opened 7 months ago

applike-ss commented 7 months ago

Image I'm using: bottlerocket-aws-k8s-1.28-x86_64-v1.15.0-c9af43ad

What I expected to happen: The node should expose the container_spec_cpu_shares metric.

What actually happened: No container_spec_cpu_shares is found via prometheus, however cadvisor_version_info can be found => scraping works properly. Likely more metrics are missing, but i didn't check.

How to reproduce the problem:

gthao313 commented 7 months ago

@applike-ss Thanks for opening this ticket. I'm going reproduce this issue and get you back.

arnaldo2792 commented 6 months ago

I think this is related to https://github.com/bottlerocket-os/bottlerocket/issues/3776, I'll test the fix suggested there and confirm if the missing metrics show up.