Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak CPU and memory display on operational dashboard #764

Merged
merged 5 commits into from
Jun 15, 2021

Conversation

bboreham
Copy link
Contributor

What this PR does:

Add container name to Memory and CPU metrics. They are reported per cgroup, so pods with more than one container have several lines. This change allows them to be distinguished.

Also filter out 'pause' container - these metrics are typically very low because the "pause" container is a piece of Kubernetes internals that sits and does nothing. Filtering them out of the display aids readability.

Note in some Kubernetes installations the pause container is labled "POD", which was previously filtered out from the dashboard in #496. See containerd/cri#922 for background on the name.

Which issue(s) this PR fixes:
None

Checklist

  • N/A Tests updated
  • N/A Documentation added
  • CHANGELOG.md updated

Memory and CPU metrics are reported per cgroup, so pods with
more than one container have several lines. This change allows them
to be distinguished.
These metrics are typically very low because the "pause" container
is a piece of Kubernetes internals that sits and does nothing.
Filtering them out of the display aids readability.

Note in some Kubernetes installations the pause container is labled
"POD", which was previously filtered out from the dashboard.
See containerd/cri#922 for background on the
name.
@CLAassistant
Copy link

CLAassistant commented Jun 14, 2021

CLA assistant check
All committers have signed the CLA.

@joe-elliott
Copy link
Member

@bboreham
The operational dashboard has needed some love for awhile now. Thank you!

Please sign the CLA and we'll get this merged.

@joe-elliott joe-elliott merged commit 74297aa into grafana:main Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants