summaryrefslogtreecommitdiff
path: root/elastic/generate-config.py
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-04-20 18:27:46 +0200
committervarac <varacanero@zeromail.org>2017-04-20 18:27:46 +0200
commit0da8233146b474fc4f82c4099acce06e1443b1de (patch)
treeb9e5a16c4cc7fe7731218839bde055566f27526e /elastic/generate-config.py
parent3971d960f77e9aed9a3058a2af6cd91b875941ee (diff)
Increment Panel index again
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 b935cb6..2978976 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\\":1,\\"col\\":1,\\"row\\":' + str(count) + ',\\"size_x\\":6,\\"size_y\\":3,\\"type\\":\\"visualization\\"}, '
+ panels += '{\\"id\\":\\"' + test_name + '\\",\\"panelIndex\\":' + str(count) + ',\\"col\\":1,\\"row\\":' + str(count) + ',\\"size_x\\":6,\\"size_y\\":3,\\"type\\":\\"visualization\\"}, '
panels = panels[:-2]
panels += ']'
@@ -72,4 +72,5 @@ for d in buckets:
tests = sorted(tests)
generate_dashboards()
+print()
generate_visualizations()