Update variables in dashboard (#2117)
* Update variables in dashboard * fix escaped strings for query
This commit is contained in:
parent
af3ca02e35
commit
fa98434096
|
@ -63,6 +63,23 @@ else:
|
||||||
'tags': [],
|
'tags': [],
|
||||||
'tagsQuery': '',
|
'tagsQuery': '',
|
||||||
'type': 'query',
|
'type': 'query',
|
||||||
|
'useTags': False},
|
||||||
|
{'allValue': None,
|
||||||
|
'datasource': 'Solana Metrics (read-only)',
|
||||||
|
'hide': 0,
|
||||||
|
'includeAll': False,
|
||||||
|
'label': 'HostID',
|
||||||
|
'multi': False,
|
||||||
|
'name': 'hostid',
|
||||||
|
'options': [],
|
||||||
|
'query': 'SELECT DISTINCT(\"host_id\") FROM \"$testnet\".\"autogen\".\"counter-bank-process_transactions-txs\" ',
|
||||||
|
'refresh': 2,
|
||||||
|
'regex': '',
|
||||||
|
'sort': 1,
|
||||||
|
'tagValuesQuery': '',
|
||||||
|
'tags': [],
|
||||||
|
'tagsQuery': '',
|
||||||
|
'type': 'query',
|
||||||
'useTags': False}]
|
'useTags': False}]
|
||||||
|
|
||||||
with open(dashboard_json, 'w') as write_file:
|
with open(dashboard_json, 'w') as write_file:
|
||||||
|
|
Loading…
Reference in New Issue