summaryrefslogtreecommitdiffstats
path: root/dashboard/dashboard/elastic2kibana/templates/dashboard.json
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/dashboard/elastic2kibana/templates/dashboard.json')
-rw-r--r--dashboard/dashboard/elastic2kibana/templates/dashboard.json61
1 files changed, 0 insertions, 61 deletions
diff --git a/dashboard/dashboard/elastic2kibana/templates/dashboard.json b/dashboard/dashboard/elastic2kibana/templates/dashboard.json
deleted file mode 100644
index cc80995..0000000
--- a/dashboard/dashboard/elastic2kibana/templates/dashboard.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{% set db = db|default({}) -%}
-
-
-{% macro calc_col(index) -%}
- {% if index is divisibleby 2 %}
- 7
- {% else %}
- 1
- {% endif %}
-{%- endmacro %}
-
-{% macro calc_row(index) -%}
-{% set num = (index - 1)//2 %}
- {{1 + num * 3}}
-{%- endmacro %}
-
-{
- "description": "Kibana dashboard for {{db.query}}",
- "hits": 0,
- "kibanaSavedObjectMeta": {
- "searchSourceJSON": {
- "filter": [
- {
- "query": {
- "query_string": {
- "analyze_wildcard": true,
- "query": "*"
- }
- }
- }
- ]
- }
- },
- "metadata": {
- "label": "{{db.query.case_name}} {{db.query.metric}}",
- "test_family": "{{db.test_family}}"
- },
- "optionsJSON": {
- "darkTheme": false
- },
- "panelsJSON": [
- {% for id in db.ids %}
- {
- "col": {{calc_col(loop.index)}},
- "id": "{{id}}",
- "panelIndex": {{loop.index}},
- "row": {{calc_row(loop.index)}},
- "size_x": 6,
- "size_y": 3,
- "type": "visualization"
- }
- {% if not loop.last %}
- ,
- {% endif %}
- {% endfor %}
- ],
- "scenario": 1,
- "timeRestore": false,
- "title": "{{db.query.project_name}} {{db.query.case_name}} {{db.query.installer}} {{db.query.metric}} {{db.query.pod}}",
- "uiStateJSON": {}
-}