Fix stable metrics graph: "Bank Height / Slot Distance ($hostid)"

This commit is contained in:
Michael Vines 2019-12-09 22:51:44 -07:00
parent 39cd6dff7d
commit a33bcac52f
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 18 additions and 1 deletions

View File

@ -95,7 +95,24 @@ elif channel == 'stable':
'text': 'testnet-perf',
'value': 'testnet-perf'}],
'query': 'testnet,testnet-perf',
'type': 'custom'}]
'type': 'custom'},
{'allValue': ".*",
'datasource': '$datasource',
'hide': 0,
'includeAll': True,
'label': 'HostID',
'multi': False,
'name': 'hostid',
'options': [],
'query': 'SELECT DISTINCT(\"id\") FROM \"$testnet\".\"autogen\".\"validator-new\" ',
'refresh': 2,
'regex': '',
'sort': 1,
'tagValuesQuery': '',
'tags': [],
'tagsQuery': '',
'type': 'query',
'useTags': False}]
else:
# Non-stable dashboard only allows the user to select between all testnet
# databases