devenv: update sql dashboards

This commit is contained in:
Marcus Efraimsson 2018-08-08 09:47:45 +02:00
parent 52c7edf2f4
commit 9938835dde
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A
3 changed files with 612 additions and 115 deletions

View File

@ -64,7 +64,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1532949769359, "iteration": 1533713720618,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -338,8 +338,8 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 7 "y": 7
}, },
@ -421,9 +421,9 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 7 "y": 7
}, },
"id": 9, "id": 9,
@ -504,9 +504,9 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 7 "y": 7
}, },
"id": 10, "id": 10,
@ -579,6 +579,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-mssql-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 7
},
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 3,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '5m', previous), avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '5m') ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "timeGroup macro 5m with fill(previous) and null as zero",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": true, "bars": true,
@ -587,10 +670,10 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 16 "y": 13
}, },
"id": 16, "id": 16,
"legend": { "legend": {
@ -670,10 +753,10 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 16 "y": 13
}, },
"id": 12, "id": 12,
"legend": { "legend": {
@ -753,10 +836,10 @@
"datasource": "gdev-mssql-ds-tests", "datasource": "gdev-mssql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 16 "y": 13
}, },
"id": 13, "id": 13,
"legend": { "legend": {
@ -828,6 +911,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-mssql-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 13
},
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 3,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '$summarize', previous), sum(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY $__timeGroup(time, '$summarize') ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Metrics - timeGroup macro $summarize with fill(previous)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
@ -839,7 +1005,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 25 "y": 19
}, },
"id": 27, "id": 27,
"legend": { "legend": {
@ -926,7 +1092,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 25 "y": 19
}, },
"id": 5, "id": 5,
"legend": { "legend": {
@ -1029,7 +1195,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 33 "y": 27
}, },
"id": 4, "id": 4,
"legend": { "legend": {
@ -1116,7 +1282,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 33 "y": 27
}, },
"id": 28, "id": 28,
"legend": { "legend": {
@ -1201,7 +1367,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 41 "y": 35
}, },
"id": 19, "id": 19,
"legend": { "legend": {
@ -1288,7 +1454,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 41 "y": 35
}, },
"id": 18, "id": 18,
"legend": { "legend": {
@ -1373,7 +1539,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 49 "y": 43
}, },
"id": 17, "id": 17,
"legend": { "legend": {
@ -1460,7 +1626,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 49 "y": 43
}, },
"id": 20, "id": 20,
"legend": { "legend": {
@ -1545,7 +1711,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 57 "y": 51
}, },
"id": 29, "id": 29,
"legend": { "legend": {
@ -1632,7 +1798,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 57 "y": 51
}, },
"id": 30, "id": 30,
"legend": { "legend": {
@ -1719,7 +1885,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 65 "y": 59
}, },
"id": 14, "id": 14,
"legend": { "legend": {
@ -1807,7 +1973,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 65 "y": 59
}, },
"id": 15, "id": 15,
"legend": { "legend": {
@ -1894,7 +2060,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 73 "y": 67
}, },
"id": 25, "id": 25,
"legend": { "legend": {
@ -1982,7 +2148,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 73 "y": 67
}, },
"id": 22, "id": 22,
"legend": { "legend": {
@ -2069,7 +2235,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 81 "y": 75
}, },
"id": 21, "id": 21,
"legend": { "legend": {
@ -2157,7 +2323,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 81 "y": 75
}, },
"id": 26, "id": 26,
"legend": { "legend": {
@ -2244,7 +2410,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 89 "y": 83
}, },
"id": 23, "id": 23,
"legend": { "legend": {
@ -2332,7 +2498,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 89 "y": 83
}, },
"id": 24, "id": 24,
"legend": { "legend": {
@ -2542,5 +2708,5 @@
"timezone": "", "timezone": "",
"title": "Datasource tests - MSSQL (unit test)", "title": "Datasource tests - MSSQL (unit test)",
"uid": "GlAqcPgmz", "uid": "GlAqcPgmz",
"version": 3 "version": 10
} }

View File

@ -64,7 +64,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1532949531280, "iteration": 1533714324007,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -338,8 +338,8 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 7 "y": 7
}, },
@ -421,9 +421,9 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 7 "y": 7
}, },
"id": 9, "id": 9,
@ -504,9 +504,9 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 7 "y": 7
}, },
"id": 10, "id": 10,
@ -579,6 +579,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-mysql-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 7
},
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 3,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '5m', previous), avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY 1 ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "timeGroup macro 5m with fill(previous)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": true, "bars": true,
@ -587,10 +670,10 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 16 "y": 13
}, },
"id": 16, "id": 16,
"legend": { "legend": {
@ -670,10 +753,10 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 16 "y": 13
}, },
"id": 12, "id": 12,
"legend": { "legend": {
@ -753,10 +836,10 @@
"datasource": "gdev-mysql-ds-tests", "datasource": "gdev-mysql-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 16 "y": 13
}, },
"id": 13, "id": 13,
"legend": { "legend": {
@ -828,6 +911,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-mysql-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 13
},
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 3,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '$summarize', previous), sum(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY 1 ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Metrics - timeGroup macro $summarize with fill(previous)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
@ -839,7 +1005,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 25 "y": 19
}, },
"id": 27, "id": 27,
"legend": { "legend": {
@ -926,7 +1092,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 25 "y": 19
}, },
"id": 5, "id": 5,
"legend": { "legend": {
@ -1023,7 +1189,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 33 "y": 27
}, },
"id": 4, "id": 4,
"legend": { "legend": {
@ -1110,7 +1276,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 33 "y": 27
}, },
"id": 28, "id": 28,
"legend": { "legend": {
@ -1195,7 +1361,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 41 "y": 35
}, },
"id": 19, "id": 19,
"legend": { "legend": {
@ -1282,7 +1448,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 41 "y": 35
}, },
"id": 18, "id": 18,
"legend": { "legend": {
@ -1367,7 +1533,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 49 "y": 43
}, },
"id": 17, "id": 17,
"legend": { "legend": {
@ -1454,7 +1620,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 49 "y": 43
}, },
"id": 20, "id": 20,
"legend": { "legend": {
@ -1539,7 +1705,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 57 "y": 51
}, },
"id": 14, "id": 14,
"legend": { "legend": {
@ -1627,7 +1793,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 57 "y": 51
}, },
"id": 15, "id": 15,
"legend": { "legend": {
@ -1714,7 +1880,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 65 "y": 59
}, },
"id": 25, "id": 25,
"legend": { "legend": {
@ -1802,7 +1968,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 65 "y": 59
}, },
"id": 22, "id": 22,
"legend": { "legend": {
@ -1889,7 +2055,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 73 "y": 67
}, },
"id": 21, "id": 21,
"legend": { "legend": {
@ -1977,7 +2143,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 73 "y": 67
}, },
"id": 26, "id": 26,
"legend": { "legend": {
@ -2064,7 +2230,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 81 "y": 75
}, },
"id": 23, "id": 23,
"legend": { "legend": {
@ -2152,7 +2318,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 81 "y": 75
}, },
"id": 24, "id": 24,
"legend": { "legend": {
@ -2360,5 +2526,5 @@
"timezone": "", "timezone": "",
"title": "Datasource tests - MySQL (unittest)", "title": "Datasource tests - MySQL (unittest)",
"uid": "Hmf8FDkmz", "uid": "Hmf8FDkmz",
"version": 1 "version": 9
} }

View File

@ -64,7 +64,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1532951521836, "iteration": 1533714184500,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -338,8 +338,8 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 7 "y": 7
}, },
@ -421,9 +421,9 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 7 "y": 7
}, },
"id": 9, "id": 9,
@ -504,9 +504,9 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 7 "y": 7
}, },
"id": 10, "id": 10,
@ -579,6 +579,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-postgres-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 7
},
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 3,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '5m', previous), avg(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY 1 ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "timeGroup macro 5m with fill(previous)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": true, "bars": true,
@ -587,10 +670,10 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 0, "x": 0,
"y": 16 "y": 13
}, },
"id": 16, "id": 16,
"legend": { "legend": {
@ -670,10 +753,10 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 8, "x": 6,
"y": 16 "y": 13
}, },
"id": 12, "id": 12,
"legend": { "legend": {
@ -753,10 +836,10 @@
"datasource": "gdev-postgres-ds-tests", "datasource": "gdev-postgres-ds-tests",
"fill": 2, "fill": 2,
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 8, "w": 6,
"x": 16, "x": 12,
"y": 16 "y": 13
}, },
"id": 13, "id": 13,
"legend": { "legend": {
@ -828,6 +911,89 @@
"alignLevel": null "alignLevel": null
} }
}, },
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "gdev-postgres-ds-tests",
"fill": 2,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 13
},
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 3,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "time_series",
"rawSql": "SELECT $__timeGroupAlias(time, '$summarize', previous), sum(value) as value FROM metric WHERE $__timeFilter(time) GROUP BY 1 ORDER BY 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Metrics - timeGroup macro $summarize with fill(previous)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
@ -839,7 +1005,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 25 "y": 19
}, },
"id": 27, "id": 27,
"legend": { "legend": {
@ -926,7 +1092,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 25 "y": 19
}, },
"id": 5, "id": 5,
"legend": { "legend": {
@ -1011,7 +1177,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 33 "y": 27
}, },
"id": 4, "id": 4,
"legend": { "legend": {
@ -1098,7 +1264,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 33 "y": 27
}, },
"id": 28, "id": 28,
"legend": { "legend": {
@ -1183,7 +1349,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 41 "y": 35
}, },
"id": 19, "id": 19,
"legend": { "legend": {
@ -1270,7 +1436,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 41 "y": 35
}, },
"id": 18, "id": 18,
"legend": { "legend": {
@ -1355,7 +1521,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 49 "y": 43
}, },
"id": 17, "id": 17,
"legend": { "legend": {
@ -1442,7 +1608,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 49 "y": 43
}, },
"id": 20, "id": 20,
"legend": { "legend": {
@ -1527,7 +1693,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 57 "y": 51
}, },
"id": 14, "id": 14,
"legend": { "legend": {
@ -1615,7 +1781,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 57 "y": 51
}, },
"id": 15, "id": 15,
"legend": { "legend": {
@ -1702,7 +1868,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 65 "y": 59
}, },
"id": 25, "id": 25,
"legend": { "legend": {
@ -1790,7 +1956,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 65 "y": 59
}, },
"id": 22, "id": 22,
"legend": { "legend": {
@ -1877,7 +2043,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 73 "y": 67
}, },
"id": 21, "id": 21,
"legend": { "legend": {
@ -1965,7 +2131,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 73 "y": 67
}, },
"id": 26, "id": 26,
"legend": { "legend": {
@ -2052,7 +2218,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 81 "y": 75
}, },
"id": 23, "id": 23,
"legend": { "legend": {
@ -2140,7 +2306,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 81 "y": 75
}, },
"id": 24, "id": 24,
"legend": { "legend": {
@ -2352,6 +2518,5 @@
"timezone": "", "timezone": "",
"title": "Datasource tests - Postgres (unittest)", "title": "Datasource tests - Postgres (unittest)",
"uid": "vHQdlVziz", "uid": "vHQdlVziz",
"version": 1 "version": 9
} }