{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "graphTooltip": 0, "links": [ { "asDropdown": true, "icon": "external link", "tags": [ "gdev", "graph-ng" ], "title": "Graph Tests", "type": "dashboards" } ], "panels": [ { "datasource": { "type": "testdata" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 7, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 0, "y": 0 }, "id": 3, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "B", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "10,20,15,25,null,null,30,40", "target": "" } ], "title": "Show gaps", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "description": "Series A have no nulls and is not aligned with series B", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 6, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 120, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 7, "y": 0 }, "id": 2, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "hide": false, "refId": "B", "scenarioId": "csv_metric_values", "stringInput": "1,null,40,null,90,null,null,100,null,null,100,null,null,80,null", "target": "" }, { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "A", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "10,20,30,40,50,60,70", "target": "" } ], "title": "Gaps & null between every point for series B", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 6, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 120, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 9, "x": 15, "y": 0 }, "id": 6, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "B", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "15,20,30,50,40", "target": "" }, { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "A", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "50,55,80,60,70", "target": "" } ], "title": "No nulls but unaligned series", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 7, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 0, "y": 7 }, "id": 4, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "B", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "10,20,15,25,null,null,30,40", "target": "" } ], "title": "Connected", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "description": "Series A have no nulls and is not aligned with series B", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 6, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 120, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 7, "y": 7 }, "id": 5, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "hide": false, "refId": "B", "scenarioId": "csv_metric_values", "stringInput": "1,null,40,null,90,null,null,100,null,null,100,null,null,80,null", "target": "" }, { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "A", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "10,20,30,40,50,60,70", "target": "" } ], "title": "Same as above but connected", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "description": "Should look the same as above\n", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 6, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 120, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 9, "x": 15, "y": 7 }, "id": 7, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.4.0-pre", "targets": [ { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "B", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "15,20,30,50,40", "target": "" }, { "alias": "", "csvWave": { "timeStep": 60, "valuesCSV": "0,0,2,2,1,1" }, "hide": false, "lines": 10, "points": [], "pulseWave": { "offCount": 3, "offValue": 1, "onCount": 3, "onValue": 2, "timeStep": 60 }, "refId": "A", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "50,55,80,60,70", "target": "" } ], "title": "Same as above but connected", "type": "timeseries" }, { "datasource": { "type": "testdata" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "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": { "legend": { "asTable": false, "calcs": [], "displayMode": "list", "isVisible": true, "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "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" } ], "title": "Null values in first series & show gaps ", "transformations": [], "type": "timeseries" }, { "datasource": { "type": "testdata" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "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": { "legend": { "asTable": false, "calcs": [], "displayMode": "list", "isVisible": true, "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "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" } ], "title": "Null values in second series show gaps (bugged)", "transformations": [], "type": "timeseries" }, { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": 3600000, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 14, "y": 14 }, "id": 13, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "7.5.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": "A", "scenarioId": "csv_metric_values", "stream": { "bands": 1, "noise": 2.2, "speed": 250, "spread": 3.5, "type": "signal" }, "stringInput": "1,20,90,null,30,5,0" } ], "title": "Span nulls below 1hr", "type": "timeseries" }, { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 7, "x": 0, "y": 22 }, "id": 15, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "refId": "A", "scenarioId": "csv_metric_values", "stringInput": "30,null,1,20,90,null,30,null,5,0,null,30" } ], "title": "Always show points between gaps", "type": "timeseries" } ], "schemaVersion": 33, "style": "dark", "tags": [ "gdev", "panel-tests", "graph-ng" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Panel Tests - Graph NG - Gaps and Connected", "uid": "8mmCAF1Mz", "version": 2 }