Skip to content

Commit

Permalink
Fix stable metrics graph: "Bank Height / Slot Distance ($hostid)"
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Dec 10, 2019
1 parent 39cd6df commit a33bcac
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion metrics/scripts/adjust-dashboard-for-channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,24 @@
'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
Expand Down

0 comments on commit a33bcac

Please sign in to comment.