Skip to content

Commit

Permalink
fix: multi-cluster.libsonnet to support grafana dashboard join "byFie…
Browse files Browse the repository at this point in the history
…ld" Selector with interpolation error fix
  • Loading branch information
danushadhitya authored Aug 20, 2024
1 parent 4f312c5 commit 8ecd12a
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: '%(clusterLabel)s',
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: '%(clusterLabel)s',
byField: std.format('%s', $._config.clusterlabel),
mode: 'outer',
}),

Expand Down

0 comments on commit 8ecd12a

Please sign in to comment.