Skip to content

Commit

Permalink
views/pods: use wildcard for all option in pod variable
Browse files Browse the repository at this point in the history
`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 #129
  • Loading branch information
hagen1778 committed Nov 24, 2024
1 parent 3c305a7 commit 2777fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboards/k8s-views-pods.json
Original file line number Diff line number Diff line change
Expand Up @@ -2600,6 +2600,7 @@
"useTags": false
},
{
"allValue": ".*",
"current": {
"selected": false,
"text": "",
Expand Down

0 comments on commit 2777fd4

Please sign in to comment.