Browse Source

Elasticsearch: Format elasticsearch test dashboard json (#16537)

Ryan McKinley 6 years ago
parent
commit
4a4ee57fab

+ 8 - 49
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
-}
+}

+ 8 - 49
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
-}
+}

+ 8 - 49
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
-}
+}