Skip to content

Commit

Permalink
mixin: make federation-frontend remote_cluster variable multi-select (#…
Browse files Browse the repository at this point in the history
…10758)

This works for more grafana versions. Some versions don't default to `All`

Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitarvdimitrov authored Mar 4, 2025
1 parent 2c3759c commit 7c38e09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ local filename = 'federation-frontend.json';
[filename]:
($.dashboard('Federation-frontend') + { uid: std.md5(filename) })
.addClusterSelectorTemplates()
.addTemplate(
.addMultiTemplate(
'remote_cluster',
'cortex_federation_frontend_cluster_remote_latency_seconds',
'remote_cluster',
hide=2,
includeAll=true,
)
.addRow(
$.row('Overview')
Expand Down

0 comments on commit 7c38e09

Please sign in to comment.