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: using empty image label for container metrics #122

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

dotdc
Copy link
Owner

@dotdc dotdc commented Sep 30, 2024

Pull Request

Required Fields

🔎 What kind of change is it?

  • fix

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

  • Switch label filter image!="" to image="" on container_* metrics

We need this because it seems slightly more accurate and avoids a bug where memory get doubled.

Users should expect a small TSDB data change like in the graph below:

2024-09-30 21 25 49 localhost 4e2725020521

Optional Fields

✔️ Which issue(s) this PR fixes?

  • N/A

@dotdc dotdc self-assigned this Sep 30, 2024
@dotdc dotdc merged commit 6a5ef77 into master Sep 30, 2024
1 check passed
@dotdc dotdc deleted the fix/empty-image-label branch September 30, 2024 20:29
@dotdc
Copy link
Owner Author

dotdc commented Sep 30, 2024

🎉 This PR is included in version 2.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Sep 30, 2024
buroa added a commit to buroa/k8s-gitops that referenced this pull request Oct 3, 2024
@buroa
Copy link
Contributor

buroa commented Oct 3, 2024

Hey @dotdc this seemed to break all my dashboards in my environment. Can we please revert this?

buroa added a commit to buroa/grafana-dashboards-kubernetes that referenced this pull request Oct 3, 2024
@onedr0p
Copy link
Contributor

onedr0p commented Oct 3, 2024

Can confirm these dashboards don't show any data with this change. Please revert.

@dotdc
Copy link
Owner Author

dotdc commented Oct 3, 2024

Hi @buroa, @onedr0p,

Will make the rollback, can you share your setups?
Interested to know:

  • Kubernetes distribution
  • Kubernetes version
  • Deployment method and/or observability components versions

dotdc added a commit that referenced this pull request Oct 3, 2024
Co-authored-by: David Calvert <[email protected]>
Co-authored-by: Devin Buhl <[email protected]>
@onedr0p
Copy link
Contributor

onedr0p commented Oct 3, 2024

  • Talos 1.8.0
  • Kubernetes 1.31.1
  • kube-prometheus-stack 65.0.0

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.

3 participants