Commit a6aa0024 by Torkel Ödegaard Committed by GitHub

GraphNG: Overhaul of main test dashboard and update to null & gaps dashboard (#30101)

* GraphNG: Overhaul of main test dashboard and update to null & gaps dashboard

* Minor fix
parent 7b5a9cef
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 345,
"links": [], "links": [],
"panels": [ "panels": [
{ {
...@@ -31,9 +30,17 @@ ...@@ -31,9 +30,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 7, "pointSize": 7,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": false "spanNulls": false
}, },
...@@ -124,9 +131,17 @@ ...@@ -124,9 +131,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 6, "pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": false "spanNulls": false
}, },
...@@ -226,9 +241,17 @@ ...@@ -226,9 +241,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 6, "pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": false "spanNulls": false
}, },
...@@ -347,9 +370,17 @@ ...@@ -347,9 +370,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 7, "pointSize": 7,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": true "spanNulls": true
}, },
...@@ -440,9 +471,17 @@ ...@@ -440,9 +471,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 6, "pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": true "spanNulls": true
}, },
...@@ -542,9 +581,17 @@ ...@@ -542,9 +581,17 @@
"drawStyle": "line", "drawStyle": "line",
"fillGradient": 0, "fillGradient": 0,
"fillOpacity": 0, "fillOpacity": 0,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 6, "pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto", "showPoints": "auto",
"spanNulls": true "spanNulls": true
}, },
...@@ -649,6 +696,332 @@ ...@@ -649,6 +696,332 @@
"timeShift": null, "timeShift": null,
"title": "Same as above but connected", "title": "Same as above but connected",
"type": "graph3" "type": "graph3"
},
{
"datasource": "gdev-testdata",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axis": {
"grid": true,
"label": "Temperature",
"side": 3,
"width": 60
},
"axisLabel": "",
"axisPlacement": "auto",
"bars": {
"show": false
},
"drawStyle": "line",
"fill": {
"alpha": 0
},
"fillGradient": {
"label": "None"
},
"fillOpacity": 10,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"line": {
"color": {
"mode": "palette-classic"
},
"show": true,
"width": 1
},
"lineInterpolation": "linear",
"lineWidth": 2,
"nullValues": "null",
"pointSize": 5,
"points": {
"radius": 8,
"show": true
},
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "A-series"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "C-series"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 7,
"x": 0,
"y": 14
},
"id": 11,
"options": {
"graph": {
"realTimeUpdates": false
},
"legend": {
"asTable": false,
"displayMode": "list",
"isVisible": true,
"placement": "bottom"
},
"tooltipOptions": {
"mode": "single"
}
},
"pluginVersion": "7.2.0-pre",
"targets": [
{
"refId": "A",
"scenarioId": "csv_metric_values",
"stringInput": "10,25,null,null,50,10"
},
{
"alias": "",
"csvWave": {
"timeStep": 60,
"valuesCSV": "0,0,2,2,1,1"
},
"lines": 10,
"points": [],
"pulseWave": {
"offCount": 3,
"offValue": 1,
"onCount": 3,
"onValue": 2,
"timeStep": 60
},
"refId": "C",
"scenarioId": "csv_metric_values",
"stream": {
"bands": 1,
"noise": 2.2,
"speed": 250,
"spread": 3.5,
"type": "signal"
},
"stringInput": "1,20,90,30,5,0"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Null values in first series & show gaps ",
"transformations": [],
"type": "graph3"
},
{
"datasource": "gdev-testdata",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axis": {
"grid": true,
"label": "Temperature",
"side": 3,
"width": 60
},
"axisLabel": "",
"axisPlacement": "auto",
"bars": {
"show": false
},
"drawStyle": "line",
"fill": {
"alpha": 0
},
"fillGradient": {
"label": "None"
},
"fillOpacity": 10,
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false
},
"line": {
"color": {
"mode": "palette-classic"
},
"show": true,
"width": 1
},
"lineInterpolation": "linear",
"lineWidth": 2,
"nullValues": "null",
"pointSize": 5,
"points": {
"radius": 8,
"show": true
},
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "A-series"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "C-series"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 7,
"x": 7,
"y": 14
},
"id": 9,
"options": {
"graph": {
"realTimeUpdates": false
},
"legend": {
"asTable": false,
"displayMode": "list",
"isVisible": true,
"placement": "bottom"
},
"tooltipOptions": {
"mode": "single"
}
},
"pluginVersion": "7.2.0-pre",
"targets": [
{
"alias": "",
"csvWave": {
"timeStep": 60,
"valuesCSV": "0,0,2,2,1,1"
},
"lines": 10,
"points": [],
"pulseWave": {
"offCount": 3,
"offValue": 1,
"onCount": 3,
"onValue": 2,
"timeStep": 60
},
"refId": "C",
"scenarioId": "csv_metric_values",
"stream": {
"bands": 1,
"noise": 2.2,
"speed": 250,
"spread": 3.5,
"type": "signal"
},
"stringInput": "1,20,90,30,5,0"
},
{
"refId": "A",
"scenarioId": "csv_metric_values",
"stringInput": "10,25,null,null,50,10"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Null values in second series show gaps (bugged)",
"transformations": [],
"type": "graph3"
} }
], ],
"schemaVersion": 27, "schemaVersion": 27,
...@@ -665,5 +1038,5 @@ ...@@ -665,5 +1038,5 @@
"timezone": "", "timezone": "",
"title": "Panel Tests - Graph NG - Gaps and Connected", "title": "Panel Tests - Graph NG - Gaps and Connected",
"uid": "8mmCAF1Mz", "uid": "8mmCAF1Mz",
"version": 10 "version": 1
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment