diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-12-06 09:07:43 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-12-06 09:07:43 +0800 |
commit | 3f672f0e918c5c461008a7fc0e53e63b79083d34 (patch) | |
tree | 12bfc267788dff461cc6bb500ada150223f42ca2 /dashboard/dashboard/elastic2kibana/templates/dashboard.json | |
parent | 41ff15069d96ea1040cb457b39f909967dabb8bc (diff) |
remove deprecated dashboard code
dashboard is not used anymore, substitute by Bitergia dashboard
Change-Id: Iccfd634d0d404d23b09d88454dab38425359a2b8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'dashboard/dashboard/elastic2kibana/templates/dashboard.json')
-rw-r--r-- | dashboard/dashboard/elastic2kibana/templates/dashboard.json | 61 |
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": {} -} |