{ "__inputs": [ { "name": "DS_INFLUXDB_SEB-LAPTOP", "label": "influxdb seb-laptop", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "5.1.3" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "5.0.0" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "5.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "5.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" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 0 }, "id": 9, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "id", "targets": [ { "groupBy": [], "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "id" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [] } ], "thresholds": "", "title": "Number of Traces", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "fill": 1, "gridPos": { "h": 9, "w": 11, "x": 2, "y": 0 }, "id": 12, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "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": "Events", "groupBy": [ { "params": [ "1s" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "query": "SELECT non_negative_derivative(mean(\"value\"), 1s) FROM \"supervisor/trace\" WHERE (\"tag\" = 'xds:*/event') AND time > now() - time($__interval) GROUP BY time(10s)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "id" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "event" } ] }, { "alias": "Requests", "groupBy": [ { "params": [ "1s" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "query": "SELECT non_negative_derivative(mean(\"value\"), 1s) FROM \"supervisor/trace\" WHERE (\"tag\" = 'xds:*/event') AND time > now() - time($__interval) GROUP BY time(10s)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "id" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "request" } ] } ], "thresholds": [ { "colorMode": "critical", "fill": true, "line": true, "op": "gt", "value": 30, "yaxis": "left" } ], "timeFrom": null, "timeShift": null, "title": "Requests & Events per second", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "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": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "fill": 1, "gridPos": { "h": 9, "w": 11, "x": 13, "y": 0 }, "id": 5, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "groupBy": [], "hide": false, "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"data_bytes\" FROM \"supervisor/trace\" WHERE (\"tag\" = 'xds:*/event') AND $timeFilter", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "data_bytes" ], "type": "field" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "event" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Events Data bytes", "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 } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 3 }, "id": 8, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "id", "targets": [ { "groupBy": [], "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "id" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "request" } ] } ], "thresholds": "", "title": "Nb Requests", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 6 }, "id": 13, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "id", "targets": [ { "groupBy": [], "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "id" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "event" } ] } ], "thresholds": "", "title": "Nb Events", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "columns": [], "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "fontSize": "100%", "gridPos": { "h": 17, "w": 24, "x": 0, "y": 9 }, "id": 2, "links": [], "pageSize": null, "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "HH:mm:ss.SSS", "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": [ { "groupBy": [], "hide": false, "measurement": "xds/supervisor/trace", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"id\", \"req_index\", \"api\", \"verb\", \"name\", \"tag\", \"session\", \"data\", \"data_bytes\", \"index_id\" FROM \"supervisor/trace\" WHERE $timeFilter", "rawQuery": false, "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "id" ], "type": "field" } ], [ { "params": [ "req_index" ], "type": "field" } ], [ { "params": [ "api" ], "type": "field" } ], [ { "params": [ "verb" ], "type": "field" } ], [ { "params": [ "action" ], "type": "field" } ], [ { "params": [ "name" ], "type": "field" } ], [ { "params": [ "type" ], "type": "field" } ], [ { "params": [ "session" ], "type": "field" } ], [ { "params": [ "data" ], "type": "field" } ], [ { "params": [ "data_bytes" ], "type": "field" } ] ], "tags": [] } ], "title": "Supervisor traces table", "transform": "table", "type": "table" }, { "columns": [], "datasource": "${DS_INFLUXDB_SEB-LAPTOP}", "fontSize": "100%", "gridPos": { "h": 9, "w": 24, "x": 0, "y": 26 }, "id": 3, "interval": "", "links": [], "pageSize": null, "scroll": true, "showHeader": true, "sort": { "col": 7, "desc": false }, "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": [ { "groupBy": [], "hide": false, "measurement": "supervisor/trace", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"action\", \"id\", \"api\", \"verb\", \"name\", \"session\", \"req_index\" FROM \"xds/supervisor/trace\" WHERE (\"type\" = 'request') AND $timeFilter", "rawQuery": true, "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "action" ], "type": "field" } ], [ { "params": [ "id" ], "type": "field" } ], [ { "params": [ "api" ], "type": "field" } ], [ { "params": [ "verb" ], "type": "field" } ], [ { "params": [ "name" ], "type": "field" } ], [ { "params": [ "session" ], "type": "field" } ], [ { "params": [ "req_index" ], "type": "field" } ] ], "tags": [ { "key": "tag", "operator": "=", "value": "xds:*/request" } ] } ], "title": "Requests", "transform": "table", "type": "table" } ], "refresh": "5s", "schemaVersion": 16, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "refresh_intervals": [ "1s", "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "AGL XDS Supervisor", "uid": "Lbpwc6Iiz", "version": 33 }