summaryrefslogtreecommitdiff
path: root/elastic/generate-config.py
diff options
context:
space:
mode:
Diffstat (limited to 'elastic/generate-config.py')
-rwxr-xr-xelastic/generate-config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/elastic/generate-config.py b/elastic/generate-config.py
index 9d5358c..b935cb6 100755
--- a/elastic/generate-config.py
+++ b/elastic/generate-config.py
@@ -45,7 +45,7 @@ def generate_dashboards():
count = 0
for test_name in tests:
count += 1
- panels += '{\\"id\\":\\"' + test_name + '\\",\\"panelIndex\\":' + str(count) + ',\\"col\\":1,\\"row\\":' + str(count) + ',\\"size_x\\":6,\\"size_y\\":3,\\"type\\":\\"visualization\\"}, '
+ panels += '{\\"id\\":\\"' + test_name + '\\",\\"panelIndex\\":1,\\"col\\":1,\\"row\\":' + str(count) + ',\\"size_x\\":6,\\"size_y\\":3,\\"type\\":\\"visualization\\"}, '
panels = panels[:-2]
panels += ']'
@@ -69,6 +69,7 @@ tests = []
for d in buckets:
name = d['key']
tests.append(name)
+tests = sorted(tests)
generate_dashboards()
generate_visualizations()