Skip to content

Commit

Permalink
Merge pull request #966 from danushadhitya/master
Browse files Browse the repository at this point in the history
fix: multi-cluster.libsonnet to support grafana dashboard join "byField" Selector
  • Loading branch information
povilasv authored Oct 4, 2024
2 parents 3cb7958 + 47448f9 commit abe5031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboards/resources/multi-cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ local var = g.dashboard.variable;
+ g.panel.table.queryOptions.withTransformations([
g.panel.table.queryOptions.transformation.withId('joinByField')
+ g.panel.table.queryOptions.transformation.withOptions({
byField: 'cluster',
byField: std.format('%s', $._config.clusterLabel),
mode: 'outer',
}),

Expand Down Expand Up @@ -225,7 +225,7 @@ local var = g.dashboard.variable;
+ g.panel.table.queryOptions.withTransformations([
g.panel.table.queryOptions.transformation.withId('joinByField')
+ g.panel.table.queryOptions.transformation.withOptions({
byField: 'cluster',
byField: std.format('%s', $._config.clusterLabel),
mode: 'outer',
}),

Expand Down

0 comments on commit abe5031

Please sign in to comment.