From 4a4ee57fab9b1244c8c54322359094d11be80e05 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Fri, 12 Apr 2019 00:19:53 -0700 Subject: [PATCH] Elasticsearch: Format elasticsearch test dashboard json (#16537) --- .../datasource_tests_elasticsearch_v2.json | 57 +++---------------- .../datasource_tests_elasticsearch_v5.json | 57 +++---------------- .../datasource_tests_elasticsearch_v6.json | 57 +++---------------- 3 files changed, 24 insertions(+), 147 deletions(-) diff --git a/devenv/dev-dashboards/datasource_tests_elasticsearch_v2.json b/devenv/dev-dashboards/datasource_tests_elasticsearch_v2.json index 08019ebbc3c..c7daf286e69 100644 --- a/devenv/dev-dashboards/datasource_tests_elasticsearch_v2.json +++ b/devenv/dev-dashboards/datasource_tests_elasticsearch_v2.json @@ -32,10 +32,7 @@ "links": [ { "icon": "external link", - "tags": [ - "gdev", - "elasticsearch" - ], + "tags": ["gdev", "elasticsearch"], "type": "dashboards" } ], @@ -232,13 +229,7 @@ "id": "1", "meta": {}, "settings": { - "percents": [ - 25, - 50, - 75, - 95, - 99 - ] + "percents": [25, 50, 75, 95, 99] }, "type": "percentiles" } @@ -458,11 +449,7 @@ }, { "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["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", "decimals": 2, "pattern": "/.*/", @@ -590,11 +577,7 @@ { "circleMaxSize": 30, "circleMinSize": 2, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"], "datasource": "gdev-elasticsearch-v2-metrics", "decimals": 0, "esGeoPoint": "@location", @@ -662,10 +645,7 @@ ], "schemaVersion": 18, "style": "dark", - "tags": [ - "elasticsearch", - "gdev" - ], + "tags": ["elasticsearch", "gdev"], "templating": { "list": [ { @@ -688,34 +668,13 @@ "enable": true, "notice": false, "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], + "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"], "status": "Stable", - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ], + "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"], "type": "timepicker" }, "timezone": "browser", "title": "Datasource tests - Elasticsearch v2", "uid": "RlqLq2fiz", "version": 5 -} \ No newline at end of file +} diff --git a/devenv/dev-dashboards/datasource_tests_elasticsearch_v5.json b/devenv/dev-dashboards/datasource_tests_elasticsearch_v5.json index d4f851612b4..015898df107 100644 --- a/devenv/dev-dashboards/datasource_tests_elasticsearch_v5.json +++ b/devenv/dev-dashboards/datasource_tests_elasticsearch_v5.json @@ -33,10 +33,7 @@ { "asDropdown": false, "icon": "external link", - "tags": [ - "gdev", - "elasticsearch" - ], + "tags": ["gdev", "elasticsearch"], "title": "Dashboard", "type": "dashboards" } @@ -234,13 +231,7 @@ "id": "1", "meta": {}, "settings": { - "percents": [ - 25, - 50, - 75, - 95, - 99 - ] + "percents": [25, 50, 75, 95, 99] }, "type": "percentiles" } @@ -460,11 +451,7 @@ }, { "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["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", "decimals": 2, "pattern": "/.*/", @@ -592,11 +579,7 @@ { "circleMaxSize": 30, "circleMinSize": 2, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"], "datasource": "gdev-elasticsearch-v5-metrics", "decimals": 0, "esGeoPoint": "@location", @@ -665,10 +648,7 @@ ], "schemaVersion": 18, "style": "dark", - "tags": [ - "elasticsearch", - "gdev" - ], + "tags": ["elasticsearch", "gdev"], "templating": { "list": [ { @@ -691,34 +671,13 @@ "enable": true, "notice": false, "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], + "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"], "status": "Stable", - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ], + "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"], "type": "timepicker" }, "timezone": "browser", "title": "Datasource tests - Elasticsearch v5", "uid": "8HjT32Bmz", "version": 5 -} \ No newline at end of file +} diff --git a/devenv/dev-dashboards/datasource_tests_elasticsearch_v6.json b/devenv/dev-dashboards/datasource_tests_elasticsearch_v6.json index 69a890f64e5..6856c8ac1bb 100644 --- a/devenv/dev-dashboards/datasource_tests_elasticsearch_v6.json +++ b/devenv/dev-dashboards/datasource_tests_elasticsearch_v6.json @@ -32,10 +32,7 @@ "links": [ { "icon": "external link", - "tags": [ - "gdev", - "elasticsearch" - ], + "tags": ["gdev", "elasticsearch"], "type": "dashboards" } ], @@ -232,13 +229,7 @@ "id": "1", "meta": {}, "settings": { - "percents": [ - 25, - 50, - 75, - 95, - 99 - ] + "percents": [25, 50, 75, 95, 99] }, "type": "percentiles" } @@ -458,11 +449,7 @@ }, { "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["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", "decimals": 2, "pattern": "/.*/", @@ -590,11 +577,7 @@ { "circleMaxSize": 30, "circleMinSize": 2, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], + "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"], "datasource": "gdev-elasticsearch-v6-metrics", "decimals": 0, "esGeoPoint": "@location", @@ -662,10 +645,7 @@ ], "schemaVersion": 18, "style": "dark", - "tags": [ - "elasticsearch", - "gdev" - ], + "tags": ["elasticsearch", "gdev"], "templating": { "list": [ { @@ -688,34 +668,13 @@ "enable": true, "notice": false, "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], + "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"], "status": "Stable", - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ], + "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"], "type": "timepicker" }, "timezone": "browser", "title": "Datasource tests - Elasticsearch v6", "uid": "NF8Pq2Biz", "version": 5 -} \ No newline at end of file +}