Skip to content

Commit

Permalink
Merge pull request #910 from skl/skl/grafana11-k8s-resources-namespace
Browse files Browse the repository at this point in the history
fix(dashboards): Port compute/namespaces (pods) dashboard to new grafonnet
  • Loading branch information
povilasv authored Apr 25, 2024
2 parents d91774c + a52f3d0 commit 5ae73d9
Show file tree
Hide file tree
Showing 4 changed files with 755 additions and 339 deletions.
1 change: 1 addition & 0 deletions dashboards/network-usage/cluster-total.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ local var = g.dashboard.variable;
g.panel.table.queryOptions.transformation.withId('organize')
+ g.panel.table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down
4 changes: 4 additions & 0 deletions dashboards/resources/cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ local var = g.dashboard.variable;
table.queryOptions.transformation.withId('organize')
+ table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down Expand Up @@ -291,6 +292,7 @@ local var = g.dashboard.variable;
table.queryOptions.transformation.withId('organize')
+ table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down Expand Up @@ -429,6 +431,7 @@ local var = g.dashboard.variable;
table.queryOptions.transformation.withId('organize')
+ table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down Expand Up @@ -639,6 +642,7 @@ local var = g.dashboard.variable;
table.queryOptions.transformation.withId('organize')
+ table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down
2 changes: 2 additions & 0 deletions dashboards/resources/multi-cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ local var = g.dashboard.variable;
g.panel.table.queryOptions.transformation.withId('organize')
+ g.panel.table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down Expand Up @@ -232,6 +233,7 @@ local var = g.dashboard.variable;
g.panel.table.queryOptions.transformation.withId('organize')
+ g.panel.table.queryOptions.transformation.withOptions({
excludeByName: {
Time: true,
'Time 1': true,
'Time 2': true,
'Time 3': true,
Expand Down
Loading

0 comments on commit 5ae73d9

Please sign in to comment.