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

views/pods: use wildcard for all option in pod variable #131

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

hagen1778
Copy link
Contributor

@hagen1778 hagen1778 commented Nov 24, 2024

Pull Request

Required Fields

🔎 What kind of change is it?

  • fix

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

pod variable could contain thousands of options in some environments. Selecting all options would mean dashboard will include all of them into the PromQL query and potentially cause issues on processing.
Switching to wildcard .* instead will prevent sending huge queries to database and dashboard will continue to work for any environment.

Optional Fields

✔️ Which issue(s) this PR fixes?

fixes #129

`pod` variable could contain thousands of options in some environments.
Selecting `all` options would mean dashboard will include all of them into the PromQL
query and potentially cause issues on processing.
Switching to wildcard `.*` instead will prevent sending huge queries to database and dashboard
will continue to work for any environment.

See dotdc#129
@hagen1778 hagen1778 requested a review from dotdc as a code owner November 24, 2024 11:50
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 @hagen1778 !

@dotdc dotdc merged commit c43ec3f into dotdc:master Nov 26, 2024
1 check passed
@dotdc
Copy link
Owner

dotdc commented Nov 26, 2024

🎉 This PR is included in version 2.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Nov 26, 2024
dotdc added a commit that referenced this pull request Nov 26, 2024
@dotdc
Copy link
Owner

dotdc commented Nov 26, 2024

Didn't had time to test but pushed this everywhere in #132, released in v2.5.3.

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.

[bug] Some dashboards are broken on high pods count
2 participants