Skip to content

Commit

Permalink
add cluster label template to dashboard (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo authored Apr 11, 2024
1 parent 7e1d8bf commit cee0123
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions oracledb-mixin/dashboards/overview.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,18 @@ local tablespaceSizePanel(matcher) = {
allValues='.+',
sort=1
),
template.new(
'cluster',
promDatasource,
'label_values(oracledb_up, cluster)' % $._config,
label='Cluster',
refresh=2,
includeAll=true,
multi=true,
allValues='.*',
hide=if $._config.enableMultiCluster then '' else 'variable',
sort=0
),
template.new(
name='instance',
label='Instance',
Expand Down

0 comments on commit cee0123

Please sign in to comment.