bottlerocket icon indicating copy to clipboard operation
bottlerocket copied to clipboard

Missing cAdvisor metrics

Open applike-ss opened this issue 1 year ago • 2 comments

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:

  • Setup an AWS EKS Cluster
  • spawn a prometheus via kube-prom-stack helm chart
  • check prometheus' ui for said metric

applike-ss avatar Jan 26 '24 07:01 applike-ss

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

gthao313 avatar Jan 26 '24 17:01 gthao313

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.

arnaldo2792 avatar Feb 16 '24 01:02 arnaldo2792