Metrics dashboard publish script updates for influx cloud

This commit is contained in:
Pankaj Garg
2019-04-09 15:28:25 -07:00
committed by Grimes
parent 003fd6545c
commit b80c6840da

View File

@ -45,10 +45,10 @@ else:
# databases # databases
data['title'] = 'Testnet Monitor ({})'.format(channel) data['title'] = 'Testnet Monitor ({})'.format(channel)
data['uid'] = 'testnet-' + channel data['uid'] = 'testnet-' + channel
data['templating']['list'] = [{'allValue': None, data['templating']['list'] = [{'allValue': ".*",
'current': {'text': 'testnet', 'current': {'text': 'testnet',
'value': 'testnet'}, 'value': 'testnet'},
'datasource': 'Solana Metrics (read-only)', 'datasource': 'Solana Influx Cloud (read-only)',
'hide': 1, 'hide': 1,
'includeAll': False, 'includeAll': False,
'label': 'Testnet', 'label': 'Testnet',
@ -64,8 +64,8 @@ else:
'tagsQuery': '', 'tagsQuery': '',
'type': 'query', 'type': 'query',
'useTags': False}, 'useTags': False},
{'allValue': None, {'allValue': ".*",
'datasource': 'Solana Metrics (read-only)', 'datasource': 'Solana Influx Cloud (read-only)',
'hide': 0, 'hide': 0,
'includeAll': True, 'includeAll': True,
'label': 'HostID', 'label': 'HostID',