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

fix: pod cpu/memory usage metrics grouped by id as well #130

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

martin-ilavsky
Copy link
Contributor

@martin-ilavsky martin-ilavsky commented Nov 21, 2024

metrics

Pull Request

Required Fields

🔎 What kind of change is it?

  • fix

🎯 What has been changed and why do we need it?

  • Added id to group by for cpu/memory usage. When pod restarts the prometheus metrics for old and new pod sometimes overlap, creating spike in memory and cpu usage when 2 metrics are sumed together. Plotting then the incorectly high values which may be used to set up pod resources and limits incorrectly. See added screenshot where red and yellow lines are slightly overlapping which would cause spike without id.

Copy link
Owner

@dotdc dotdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix @martin-ilavsky, could you just bump the dashboard version at the end of the file?

@martin-ilavsky
Copy link
Contributor Author

@dotdc done

@dotdc dotdc merged commit 3c305a7 into dotdc:master Nov 23, 2024
1 check passed
@dotdc
Copy link
Owner

dotdc commented Nov 23, 2024

🎉 This PR is included in version 2.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants