Skip to content

Commit cee0123

Browse files
authored
add cluster label template to dashboard (#1194)
1 parent 7e1d8bf commit cee0123

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

oracledb-mixin/dashboards/overview.libsonnet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,18 @@ local tablespaceSizePanel(matcher) = {
10981098
allValues='.+',
10991099
sort=1
11001100
),
1101+
template.new(
1102+
'cluster',
1103+
promDatasource,
1104+
'label_values(oracledb_up, cluster)' % $._config,
1105+
label='Cluster',
1106+
refresh=2,
1107+
includeAll=true,
1108+
multi=true,
1109+
allValues='.*',
1110+
hide=if $._config.enableMultiCluster then '' else 'variable',
1111+
sort=0
1112+
),
11011113
template.new(
11021114
name='instance',
11031115
label='Instance',

0 commit comments

Comments
 (0)