|
|
@@ -0,0 +1,2508 @@
|
|
|
+{
|
|
|
+ "__inputs": [
|
|
|
+ {
|
|
|
+ "name": "DS_MSSQL_TEST",
|
|
|
+ "label": "MSSQL Test",
|
|
|
+ "description": "",
|
|
|
+ "type": "datasource",
|
|
|
+ "pluginId": "mssql",
|
|
|
+ "pluginName": "Microsoft SQL Server"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "__requires": [
|
|
|
+ {
|
|
|
+ "type": "grafana",
|
|
|
+ "id": "grafana",
|
|
|
+ "name": "Grafana",
|
|
|
+ "version": "5.0.0"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "panel",
|
|
|
+ "id": "graph",
|
|
|
+ "name": "Graph",
|
|
|
+ "version": "5.0.0"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "datasource",
|
|
|
+ "id": "mssql",
|
|
|
+ "name": "Microsoft SQL Server",
|
|
|
+ "version": "1.0.0"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "panel",
|
|
|
+ "id": "table",
|
|
|
+ "name": "Table",
|
|
|
+ "version": "5.0.0"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "annotations": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "builtIn": 1,
|
|
|
+ "datasource": "-- Grafana --",
|
|
|
+ "enable": true,
|
|
|
+ "hide": true,
|
|
|
+ "iconColor": "rgba(0, 211, 255, 1)",
|
|
|
+ "name": "Annotations & Alerts",
|
|
|
+ "type": "dashboard"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "enable": false,
|
|
|
+ "hide": false,
|
|
|
+ "iconColor": "#6ed0e0",
|
|
|
+ "limit": 100,
|
|
|
+ "name": "Deploys",
|
|
|
+ "rawQuery": "SELECT\n $__time(time_sec),\n description as [text],\n tags\n FROM [event]\n WHERE $__unixEpochFilter(time_sec) AND tags='deploy'\n ORDER BY 1 ASC\n ",
|
|
|
+ "showIn": 0,
|
|
|
+ "tags": [],
|
|
|
+ "type": "tags"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "enable": false,
|
|
|
+ "hide": false,
|
|
|
+ "iconColor": "rgba(255, 96, 96, 1)",
|
|
|
+ "limit": 100,
|
|
|
+ "name": "Tickets",
|
|
|
+ "rawQuery": "SELECT\n $__time(time_sec),\n description as [text],\n tags\n FROM [event]\n WHERE $__unixEpochFilter(time_sec) AND tags='ticket'\n ORDER BY 1 ASC\n ",
|
|
|
+ "showIn": 0,
|
|
|
+ "tags": [],
|
|
|
+ "type": "tags"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "enable": false,
|
|
|
+ "hide": false,
|
|
|
+ "iconColor": "#7eb26d",
|
|
|
+ "limit": 100,
|
|
|
+ "name": "Metric Values timeEpoch macro",
|
|
|
+ "rawQuery": "SELECT \n $__timeEpoch(time), \n measurement as text, \n '' as tags\nFROM\n metric_values \nWHERE\n $__timeFilter(time)\nORDER BY 1",
|
|
|
+ "showIn": 0,
|
|
|
+ "tags": [],
|
|
|
+ "type": "tags"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "enable": false,
|
|
|
+ "hide": false,
|
|
|
+ "iconColor": "#1f78c1",
|
|
|
+ "limit": 100,
|
|
|
+ "name": "Metric Values native time",
|
|
|
+ "rawQuery": "SELECT \n time, \n measurement as text, \n '' as tags\nFROM\n metric_values \nWHERE\n $__timeFilter(time)\nORDER BY 1",
|
|
|
+ "showIn": 0,
|
|
|
+ "tags": [],
|
|
|
+ "type": "tags"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "editable": true,
|
|
|
+ "gnetId": null,
|
|
|
+ "graphTooltip": 0,
|
|
|
+ "id": null,
|
|
|
+ "iteration": 1521715844826,
|
|
|
+ "links": [],
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 2,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 0,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "decimals": 2,
|
|
|
+ "pattern": "/.*/",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "string",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "table",
|
|
|
+ "rawSql": "SELECT * from mssql_types",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Data types",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 3,
|
|
|
+ "w": 6,
|
|
|
+ "x": 0,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 32,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 0,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "Time",
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "pattern": "time",
|
|
|
+ "type": "date"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "decimals": 2,
|
|
|
+ "pattern": "/.*/",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "table",
|
|
|
+ "rawSql": "SELECT cast(null as bigint) as time",
|
|
|
+ "refId": "A",
|
|
|
+ "target": ""
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "cast(null as bigint) as time",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 3,
|
|
|
+ "w": 6,
|
|
|
+ "x": 6,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 33,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 0,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "Time",
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "pattern": "time",
|
|
|
+ "type": "date"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "decimals": 2,
|
|
|
+ "pattern": "/.*/",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "table",
|
|
|
+ "rawSql": "SELECT cast(null as datetime) as time",
|
|
|
+ "refId": "A",
|
|
|
+ "target": ""
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "cast(null as datetime) as time",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 3,
|
|
|
+ "w": 6,
|
|
|
+ "x": 12,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 34,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 0,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "Time",
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "pattern": "time",
|
|
|
+ "type": "date"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "decimals": 2,
|
|
|
+ "pattern": "/.*/",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "table",
|
|
|
+ "rawSql": "SELECT GETDATE() as time",
|
|
|
+ "refId": "A",
|
|
|
+ "target": ""
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "GETDATE() as time",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 3,
|
|
|
+ "w": 6,
|
|
|
+ "x": 18,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 35,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 0,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "Time",
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "pattern": "time",
|
|
|
+ "type": "date"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "decimals": 2,
|
|
|
+ "pattern": "/.*/",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "table",
|
|
|
+ "rawSql": "SELECT GETUTCDATE() as time",
|
|
|
+ "refId": "A",
|
|
|
+ "target": ""
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "GETUTCDATE() as time",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 0,
|
|
|
+ "y": 7
|
|
|
+ },
|
|
|
+ "id": 7,
|
|
|
+ "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 $__timeGroup(time, '5m') AS time, 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 without fill",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 8,
|
|
|
+ "y": 7
|
|
|
+ },
|
|
|
+ "id": 9,
|
|
|
+ "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 $__timeGroup(time, '5m', NULL) AS time, 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(NULL) 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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 16,
|
|
|
+ "y": 7
|
|
|
+ },
|
|
|
+ "id": 10,
|
|
|
+ "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 $__timeGroup(time, '5m', 10.0) AS time, 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(10.0)",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 0,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 16,
|
|
|
+ "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 $__timeGroup(time, '$summarize') AS time, avg(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 without fill",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 8,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 12,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null as zero",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": true,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeGroup(time, '$summarize', NULL) AS time, 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(NULL)",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 8,
|
|
|
+ "x": 16,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 13,
|
|
|
+ "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 $__timeGroup(time, '$summarize', 100.0) AS time, 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(100.0)",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 25
|
|
|
+ },
|
|
|
+ "id": 27,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT \n $__timeGroup(time, '$summarize') as time, \n measurement + ' - value one' as metric, \n avg(valueOne) as valueOne\nFROM\n metric_values \nWHERE\n $__timeFilter(time) AND\n ($metric = 'ALL' OR measurement = $metric)\nGROUP BY \n $__timeGroup(time, '$summarize'), \n measurement \nORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT \n $__timeGroup(time, '$summarize') as time, \n measurement + ' - value two' as metric, \n avg(valueTwo) as valueTwo \nFROM\n metric_values\nWHERE\n $__timeFilter(time) AND\n ($metric = 'ALL' OR measurement = $metric)\nGROUP BY \n $__timeGroup(time, '$summarize'), \n measurement \nORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column using timeGroup macro ($summarize)",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 25
|
|
|
+ },
|
|
|
+ "id": 5,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "MovingAverageValueOne",
|
|
|
+ "dashes": true,
|
|
|
+ "lines": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "MovingAverageValueTwo",
|
|
|
+ "dashes": true,
|
|
|
+ "lines": false,
|
|
|
+ "yaxis": 1
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT \n $__timeGroup(time, '$summarize') as time, \n avg(valueOne) as valueOne, \n avg(valueTwo) as valueTwo \nFROM\n metric_values \nWHERE \n $__timeFilter(time) AND \n ($metric = 'ALL' OR measurement = $metric)\nGROUP BY \n $__timeGroup(time, '$summarize')\nORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT \n time,\n avg(valueOne) OVER (ORDER BY time ROWS BETWEEN 6 PRECEDING AND 6 FOLLOWING) as MovingAverageValueOne,\n avg(valueTwo) OVER (ORDER BY time ROWS BETWEEN 6 PRECEDING AND 6 FOLLOWING) as MovingAverageValueTwo\nFROM\n metric_values \nWHERE \n $__timeFilter(time) AND \n ($metric = 'ALL' OR measurement = $metric)\nORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column using timeGroup macro ($summarize)",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 33
|
|
|
+ },
|
|
|
+ "id": 4,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 33
|
|
|
+ },
|
|
|
+ "id": 28,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 41
|
|
|
+ },
|
|
|
+ "id": 19,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - stacked",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 41
|
|
|
+ },
|
|
|
+ "id": 18,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values\nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - stacked",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 49
|
|
|
+ },
|
|
|
+ "id": 17,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": true,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values WHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - stacked percent",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 49
|
|
|
+ },
|
|
|
+ "id": 20,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": true,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values\nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - stacked percent",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 57
|
|
|
+ },
|
|
|
+ "id": 29,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "DECLARE\n @from int = $__unixEpochFrom(), \n @to int = $__unixEpochTo(), \n @interval nvarchar(50) = '$summarize', \n @metric nvarchar(200) = $metric\n \nEXEC dbo.sp_test_epoch @from, @to, @interval, @metric",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Stored procedure support using epoch",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 2,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 57
|
|
|
+ },
|
|
|
+ "id": 30,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "hideZero": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 3,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "DECLARE\n @from datetime = $__timeFrom(), \n @to datetime = $__timeTo(), \n @interval nvarchar(50) = '$summarize', \n @metric nvarchar(200) = $metric\n \nEXEC dbo.sp_test_datetime @from, @to, @interval, @metric",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Stored procedure support using datetime",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 65
|
|
|
+ },
|
|
|
+ "id": 14,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - series mode",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": false,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "series",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "total"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "decimals": null,
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 65
|
|
|
+ },
|
|
|
+ "id": 15,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values\nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - series mode",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": false,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "series",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "total"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 73
|
|
|
+ },
|
|
|
+ "id": 25,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - histogram",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 50,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "current"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "decimals": null,
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 73
|
|
|
+ },
|
|
|
+ "id": 22,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values\nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - histogram",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 100,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "total"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 81
|
|
|
+ },
|
|
|
+ "id": 21,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - histogram stacked",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 20,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "current"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "decimals": null,
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 81
|
|
|
+ },
|
|
|
+ "id": 26,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - histogram stacked",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 20,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "total"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 89
|
|
|
+ },
|
|
|
+ "id": 23,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": true,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value one' as metric, valueOne FROM metric_values\nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), measurement + ' - value two' as metric, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series with metric column - histogram stacked percent",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 20,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "current"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "decimals": null,
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": true,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "fill": 1,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 89
|
|
|
+ },
|
|
|
+ "id": 24,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": true,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": false,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": false,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": true,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "format": "time_series",
|
|
|
+ "rawSql": "SELECT $__timeEpoch(time), valueOne, valueTwo FROM metric_values \nWHERE $__timeFilter(time) AND ($metric = 'ALL' OR measurement = $metric) ORDER BY 1",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Multiple series without metric column - histogram stacked percent",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": 20,
|
|
|
+ "mode": "histogram",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": [
|
|
|
+ "total"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "refresh": false,
|
|
|
+ "schemaVersion": 16,
|
|
|
+ "style": "dark",
|
|
|
+ "tags": [],
|
|
|
+ "templating": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "allValue": "'ALL'",
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_MSSQL_TEST}",
|
|
|
+ "hide": 0,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": "Metric",
|
|
|
+ "multi": false,
|
|
|
+ "name": "metric",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT measurement FROM metric_values",
|
|
|
+ "refresh": 1,
|
|
|
+ "regex": "",
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "auto": false,
|
|
|
+ "auto_count": 30,
|
|
|
+ "auto_min": "10s",
|
|
|
+ "current": {
|
|
|
+ "text": "10m",
|
|
|
+ "value": "10m"
|
|
|
+ },
|
|
|
+ "hide": 0,
|
|
|
+ "label": "Interval",
|
|
|
+ "name": "summarize",
|
|
|
+ "options": [
|
|
|
+ {
|
|
|
+ "selected": false,
|
|
|
+ "text": "1s",
|
|
|
+ "value": "1s"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "selected": false,
|
|
|
+ "text": "10s",
|
|
|
+ "value": "10s"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "selected": false,
|
|
|
+ "text": "30s",
|
|
|
+ "value": "30s"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "selected": false,
|
|
|
+ "text": "1m",
|
|
|
+ "value": "1m"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "selected": false,
|
|
|
+ "text": "5m",
|
|
|
+ "value": "5m"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "selected": true,
|
|
|
+ "text": "10m",
|
|
|
+ "value": "10m"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "query": "1s,10s,30s,1m,5m,10m",
|
|
|
+ "refresh": 2,
|
|
|
+ "type": "interval"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "from": "2018-03-15T12:30:00.000Z",
|
|
|
+ "to": "2018-03-15T13:55:01.000Z"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "refresh_intervals": [
|
|
|
+ "5s",
|
|
|
+ "10s",
|
|
|
+ "30s",
|
|
|
+ "1m",
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "30m",
|
|
|
+ "1h",
|
|
|
+ "2h",
|
|
|
+ "1d"
|
|
|
+ ],
|
|
|
+ "time_options": [
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "1h",
|
|
|
+ "6h",
|
|
|
+ "12h",
|
|
|
+ "24h",
|
|
|
+ "2d",
|
|
|
+ "7d",
|
|
|
+ "30d"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "timezone": "",
|
|
|
+ "title": "Microsoft SQL Server Data Source Test",
|
|
|
+ "uid": "GlAqcPgmz",
|
|
|
+ "version": 57
|
|
|
+}
|