Elasticsearch: Format elasticsearch test dashboard json (#16537)

This commit is contained in:
Ryan McKinley 2019-04-12 00:19:53 -07:00 committed by Torkel Ödegaard
parent b9cc476eb7
commit 4a4ee57fab
3 changed files with 24 additions and 147 deletions

View File

@ -32,10 +32,7 @@
"links": [ "links": [
{ {
"icon": "external link", "icon": "external link",
"tags": [ "tags": ["gdev", "elasticsearch"],
"gdev",
"elasticsearch"
],
"type": "dashboards" "type": "dashboards"
} }
], ],
@ -232,13 +229,7 @@
"id": "1", "id": "1",
"meta": {}, "meta": {},
"settings": { "settings": {
"percents": [ "percents": [25, 50, 75, 95, 99]
25,
50,
75,
95,
99
]
}, },
"type": "percentiles" "type": "percentiles"
} }
@ -458,11 +449,7 @@
}, },
{ {
"colorMode": null, "colorMode": null,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2, "decimals": 2,
"pattern": "/.*/", "pattern": "/.*/",
@ -590,11 +577,7 @@
{ {
"circleMaxSize": 30, "circleMaxSize": 30,
"circleMinSize": 2, "circleMinSize": 2,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "gdev-elasticsearch-v2-metrics", "datasource": "gdev-elasticsearch-v2-metrics",
"decimals": 0, "decimals": 0,
"esGeoPoint": "@location", "esGeoPoint": "@location",
@ -662,10 +645,7 @@
], ],
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [ "tags": ["elasticsearch", "gdev"],
"elasticsearch",
"gdev"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -688,34 +668,13 @@
"enable": true, "enable": true,
"notice": false, "notice": false,
"now": true, "now": true,
"refresh_intervals": [ "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"status": "Stable", "status": "Stable",
"time_options": [ "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"],
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"type": "timepicker" "type": "timepicker"
}, },
"timezone": "browser", "timezone": "browser",
"title": "Datasource tests - Elasticsearch v2", "title": "Datasource tests - Elasticsearch v2",
"uid": "RlqLq2fiz", "uid": "RlqLq2fiz",
"version": 5 "version": 5
} }

View File

@ -33,10 +33,7 @@
{ {
"asDropdown": false, "asDropdown": false,
"icon": "external link", "icon": "external link",
"tags": [ "tags": ["gdev", "elasticsearch"],
"gdev",
"elasticsearch"
],
"title": "Dashboard", "title": "Dashboard",
"type": "dashboards" "type": "dashboards"
} }
@ -234,13 +231,7 @@
"id": "1", "id": "1",
"meta": {}, "meta": {},
"settings": { "settings": {
"percents": [ "percents": [25, 50, 75, 95, 99]
25,
50,
75,
95,
99
]
}, },
"type": "percentiles" "type": "percentiles"
} }
@ -460,11 +451,7 @@
}, },
{ {
"colorMode": null, "colorMode": null,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2, "decimals": 2,
"pattern": "/.*/", "pattern": "/.*/",
@ -592,11 +579,7 @@
{ {
"circleMaxSize": 30, "circleMaxSize": 30,
"circleMinSize": 2, "circleMinSize": 2,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "gdev-elasticsearch-v5-metrics", "datasource": "gdev-elasticsearch-v5-metrics",
"decimals": 0, "decimals": 0,
"esGeoPoint": "@location", "esGeoPoint": "@location",
@ -665,10 +648,7 @@
], ],
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [ "tags": ["elasticsearch", "gdev"],
"elasticsearch",
"gdev"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -691,34 +671,13 @@
"enable": true, "enable": true,
"notice": false, "notice": false,
"now": true, "now": true,
"refresh_intervals": [ "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"status": "Stable", "status": "Stable",
"time_options": [ "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"],
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"type": "timepicker" "type": "timepicker"
}, },
"timezone": "browser", "timezone": "browser",
"title": "Datasource tests - Elasticsearch v5", "title": "Datasource tests - Elasticsearch v5",
"uid": "8HjT32Bmz", "uid": "8HjT32Bmz",
"version": 5 "version": 5
} }

View File

@ -32,10 +32,7 @@
"links": [ "links": [
{ {
"icon": "external link", "icon": "external link",
"tags": [ "tags": ["gdev", "elasticsearch"],
"gdev",
"elasticsearch"
],
"type": "dashboards" "type": "dashboards"
} }
], ],
@ -232,13 +229,7 @@
"id": "1", "id": "1",
"meta": {}, "meta": {},
"settings": { "settings": {
"percents": [ "percents": [25, 50, 75, 95, 99]
25,
50,
75,
95,
99
]
}, },
"type": "percentiles" "type": "percentiles"
} }
@ -458,11 +449,7 @@
}, },
{ {
"colorMode": null, "colorMode": null,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss", "dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2, "decimals": 2,
"pattern": "/.*/", "pattern": "/.*/",
@ -590,11 +577,7 @@
{ {
"circleMaxSize": 30, "circleMaxSize": 30,
"circleMinSize": 2, "circleMinSize": 2,
"colors": [ "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "gdev-elasticsearch-v6-metrics", "datasource": "gdev-elasticsearch-v6-metrics",
"decimals": 0, "decimals": 0,
"esGeoPoint": "@location", "esGeoPoint": "@location",
@ -662,10 +645,7 @@
], ],
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [ "tags": ["elasticsearch", "gdev"],
"elasticsearch",
"gdev"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -688,34 +668,13 @@
"enable": true, "enable": true,
"notice": false, "notice": false,
"now": true, "now": true,
"refresh_intervals": [ "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"status": "Stable", "status": "Stable",
"time_options": [ "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"],
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"type": "timepicker" "type": "timepicker"
}, },
"timezone": "browser", "timezone": "browser",
"title": "Datasource tests - Elasticsearch v6", "title": "Datasource tests - Elasticsearch v6",
"uid": "NF8Pq2Biz", "uid": "NF8Pq2Biz",
"version": 5 "version": 5
} }