summaryrefslogtreecommitdiffstats
path: root/dashboard/dashboard/elastic2kibana/templates/duration.json
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-12-06 09:07:43 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-12-06 09:07:43 +0800
commit3f672f0e918c5c461008a7fc0e53e63b79083d34 (patch)
tree12bfc267788dff461cc6bb500ada150223f42ca2 /dashboard/dashboard/elastic2kibana/templates/duration.json
parent41ff15069d96ea1040cb457b39f909967dabb8bc (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/duration.json')
-rw-r--r--dashboard/dashboard/elastic2kibana/templates/duration.json45
1 files changed, 0 insertions, 45 deletions
diff --git a/dashboard/dashboard/elastic2kibana/templates/duration.json b/dashboard/dashboard/elastic2kibana/templates/duration.json
deleted file mode 100644
index f50a668..0000000
--- a/dashboard/dashboard/elastic2kibana/templates/duration.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{% set aggs = aggs|default([]) -%}
-
-{
- "title": "duration",
- "type": "line",
- "listeners": {},
- "params": {
- "addLegend": true,
- "shareYAxis": true,
- "addTooltip": true,
- "smoothLines": false,
- "scale": "linear",
- "interpolate": "linear",
- "times": [],
- "addTimeMarker": false,
- "defaultYExtents": false,
- "setYExtents": false,
- "yAxis": {},
- "mode": "stacked"
- },
- "aggs": [
- {% for agg in aggs %}
- {
- "id": {{agg.id }},
- "type": "avg",
- "schema": "metric",
- "params": {
- "field": "{{agg.field}}"
- }
- },
- {% endfor %}
- {
- "id": {{ aggs|length + 1 }},
- "type": "date_histogram",
- "schema": "segment",
- "params": {
- "field": "start_date",
- "interval": "auto",
- "customInterval": "2h",
- "min_doc_count": 1,
- "extended_bounds": {}
- }
- }
- ]
-}