From 719c1c277fc403437e49d72307364d5ab77bec38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 13 May 2019 14:00:29 +0200 Subject: [PATCH] Devenv: Updated gauge test dashboard --- .../panel-gauge/gauge-multi-series.json | 337 ++++++++---------- 1 file changed, 153 insertions(+), 184 deletions(-) diff --git a/devenv/dev-dashboards/panel-gauge/gauge-multi-series.json b/devenv/dev-dashboards/panel-gauge/gauge-multi-series.json index 2f89d3ea9f3..3e1428a9865 100644 --- a/devenv/dev-dashboards/panel-gauge/gauge-multi-series.json +++ b/devenv/dev-dashboards/panel-gauge/gauge-multi-series.json @@ -21,79 +21,62 @@ "datasource": "gdev-testdata", "gridPos": { "h": 8, - "w": 24, + "w": 20, "x": 0, "y": 0 }, "id": 6, "links": [], - "options-gauge": { - "decimals": 0, - "maxValue": 100, - "minValue": 0, - "options": { - "decimals": 0, - "maxValue": 100, - "minValue": 0, - "prefix": "", - "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "avg", - "suffix": "", - "thresholds": [], - "unit": "none", - "valueMappings": [] + "options": { + "fieldOptions": { + "calcs": ["mean"], + "defaults": { + "decimals": 0, + "max": 100, + "min": 0, + "unit": "none" + }, + "mappings": [], + "override": {}, + "thresholds": [ + { + "color": "#7EB26D", + "index": 0, + "value": null + }, + { + "color": "#EAB839", + "index": 1, + "value": 50 + }, + { + "color": "#6ED0E0", + "index": 2, + "value": 75 + }, + { + "color": "#EF843C", + "index": 3, + "value": 87.5 + }, + { + "color": "#E24D42", + "index": 4, + "value": 93.75 + }, + { + "color": "#1F78C1", + "index": 5, + "value": 96.875 + } + ], + "values": false }, - "prefix": "", + "orientation": "auto", "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "avg", - "suffix": "", - "thresholds": [ - { - "color": "#1F78C1", - "index": 5, - "value": 96.875 - }, - { - "color": "#E24D42", - "index": 4, - "value": 93.75 - }, - { - "color": "#EF843C", - "index": 3, - "value": 87.5 - }, - { - "color": "#6ED0E0", - "index": 2, - "value": 75 - }, - { - "color": "#EAB839", - "index": 1, - "value": 50 - }, - { - "color": "#7EB26D", - "index": 0, - "value": null - } - ], - "unit": "none", - "valueMappings": [ - { - "from": "50", - "id": 1, - "operator": "", - "text": "Hello :) ", - "to": "90", - "type": 2, - "value": "" - } - ] + "showThresholdMarkers": true }, + "pluginVersion": "6.3.0-pre", "targets": [ { "refId": "A", @@ -124,129 +107,48 @@ { "datasource": "gdev-testdata", "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 2, - "links": [], - "options-gauge": { - "decimals": 0, - "maxValue": 100, - "minValue": 0, - "options": { - "decimals": 0, - "maxValue": 100, - "minValue": 0, - "prefix": "", - "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "avg", - "suffix": "", - "thresholds": [], - "unit": "none", - "valueMappings": [] - }, - "prefix": "", - "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "avg", - "suffix": "", - "thresholds": [ - { - "color": "#EAB839", - "index": 1, - "value": 50 - }, - { - "color": "#7EB26D", - "index": 0, - "value": null - } - ], - "unit": "none", - "valueMappings": [] - }, - "targets": [ - { - "refId": "A", - "scenarioId": "random_walk" - }, - { - "refId": "B", - "scenarioId": "random_walk" - }, - { - "refId": "C", - "scenarioId": "random_walk" - }, - { - "refId": "D", - "scenarioId": "random_walk" - }, - { - "refId": "E", - "scenarioId": "random_walk" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Repeat horizontal", - "type": "gauge" - }, - { - "datasource": "gdev-testdata", - "gridPos": { - "h": 14, - "w": 5, - "x": 0, - "y": 16 + "h": 28, + "w": 4, + "x": 20, + "y": 0 }, "id": 4, "links": [], - "options-gauge": { - "decimals": 0, - "maxValue": "200", - "minValue": 0, - "options": { - "decimals": 0, - "maxValue": 100, - "minValue": 0, - "prefix": "", - "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "avg", - "suffix": "", - "thresholds": [], - "unit": "none", - "valueMappings": [] + "options": { + "fieldOptions": { + "calcs": ["max"], + "defaults": { + "decimals": 0, + "max": "200", + "min": 0, + "unit": "none" + }, + "mappings": [], + "override": {}, + "thresholds": [ + { + "color": "#7EB26D", + "index": 0, + "value": null + }, + { + "color": "#EAB839", + "index": 1, + "value": 50 + }, + { + "color": "#6ED0E0", + "index": 2, + "value": 75 + } + ], + "values": false }, - "prefix": "", + "orientation": "auto", "showThresholdLabels": false, - "showThresholdMarkers": true, - "stat": "max", - "suffix": "", - "thresholds": [ - { - "color": "#6ED0E0", - "index": 2, - "value": 75 - }, - { - "color": "#EAB839", - "index": 1, - "value": 50 - }, - { - "color": "#7EB26D", - "index": 0, - "value": null - } - ], - "unit": "none", - "valueMappings": [] + "showThresholdMarkers": true }, + "pluginVersion": "6.3.0-pre", "targets": [ { "refId": "A", @@ -273,9 +175,76 @@ "timeShift": null, "title": "Vertical", "type": "gauge" + }, + { + "datasource": "gdev-testdata", + "gridPos": { + "h": 20, + "w": 20, + "x": 0, + "y": 8 + }, + "id": 2, + "links": [], + "options": { + "fieldOptions": { + "calcs": ["mean"], + "defaults": { + "decimals": 0, + "max": 100, + "min": 0, + "unit": "none" + }, + "mappings": [], + "override": {}, + "thresholds": [ + { + "color": "#7EB26D", + "index": 0, + "value": null + }, + { + "color": "#EAB839", + "index": 1, + "value": 50 + } + ], + "values": false + }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.3.0-pre", + "targets": [ + { + "refId": "A", + "scenarioId": "random_walk" + }, + { + "refId": "B", + "scenarioId": "random_walk" + }, + { + "refId": "C", + "scenarioId": "random_walk" + }, + { + "refId": "D", + "scenarioId": "random_walk" + }, + { + "refId": "E", + "scenarioId": "random_walk" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Repeat horizontal", + "type": "gauge" } ], - "schemaVersion": 17, + "schemaVersion": 18, "style": "dark", "tags": ["panel-tests", "gdev", "gauge"], "templating": { @@ -292,5 +261,5 @@ "timezone": "", "title": "Panel Tests - Gauge Multi Series", "uid": "szkuR1umk", - "version": 7 + "version": 2 }