From 903dbc9b136248351a2b5bedd4df544321a57ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Sat, 10 Sep 2022 22:31:27 -0600 Subject: [PATCH] Update influxDBdashboardTemplate.json --- v1.2/influxDBdashboardTemplate.json | 1803 ++++++++++----------------- 1 file changed, 692 insertions(+), 1111 deletions(-) diff --git a/v1.2/influxDBdashboardTemplate.json b/v1.2/influxDBdashboardTemplate.json index ade1ee78..a27946a8 100644 --- a/v1.2/influxDBdashboardTemplate.json +++ b/v1.2/influxDBdashboardTemplate.json @@ -1,1136 +1,717 @@ { - "meta": { - "version": "1", - "type": "dashboard", - "name": "LibreQoS-Template", - "description": "template created from dashboard: LibreQoS" - }, - "content": { - "data": { - "type": "dashboard", - "attributes": { - "name": "LibreQoS", - "description": "" - }, - "relationships": { - "label": { - "data": [] - }, - "cell": { - "data": [ - { - "type": "cell", - "id": "08f3bbdc4d838000" - }, - { - "type": "cell", - "id": "08f3bbdc4e838000" - }, - { - "type": "cell", - "id": "08f3bbdc58c38000" - }, - { - "type": "cell", - "id": "08f3bbdc5a438000" - }, - { - "type": "cell", - "id": "08f3bbdc5ac38000" - }, - { - "type": "cell", - "id": "08f3bbdc5ac38001" - }, - { - "type": "cell", - "id": "08f3bbdc5b038000" - }, - { - "type": "cell", - "id": "08fa2ff558068000" - } - ] - }, - "variable": { - "data": [] - } - } + "meta": { + "version": "1", + "type": "dashboard", + "name": "LibreQoS-Template", + "description": "template created from dashboard: LibreQoS" }, - "included": [ - { - "id": "08f3bbdc4d838000", - "type": "cell", - "attributes": { - "x": 0, - "y": 0, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc4d838000" - } - } - } - }, - { - "id": "08f3bbdc4e838000", - "type": "cell", - "attributes": { - "x": 8, - "y": 4, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc4e838000" - } - } - } - }, - { - "id": "08f3bbdc58c38000", - "type": "cell", - "attributes": { - "x": 4, - "y": 0, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc58c38000" - } - } - } - }, - { - "id": "08f3bbdc5a438000", - "type": "cell", - "attributes": { - "x": 8, - "y": 0, - "w": 2, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc5a438000" - } - } - } - }, - { - "id": "08f3bbdc5ac38000", - "type": "cell", - "attributes": { - "x": 4, - "y": 4, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc5ac38000" - } - } - } - }, - { - "id": "08f3bbdc5ac38001", - "type": "cell", - "attributes": { - "x": 10, - "y": 0, - "w": 2, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc5ac38001" - } - } - } - }, - { - "id": "08f3bbdc5b038000", - "type": "cell", - "attributes": { - "x": 0, - "y": 4, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08f3bbdc5b038000" - } - } - } - }, - { - "id": "08fa2ff558068000", - "type": "cell", - "attributes": { - "x": 8, - "y": 8, - "w": 4, - "h": 4 - }, - "relationships": { - "view": { - "data": { - "type": "view", - "id": "08fa2ff558068000" - } - } - } - }, - { - "type": "view", - "id": "08f3bbdc4d838000", - "attributes": { - "name": "Download Bandwidth | Parent Nodes", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> filter(fn: (r) => r[\"_field\"] == \"Download\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" - } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } + "content": { + "data": { + "type": "dashboard", + "attributes": { + "name": "LibreQoS", + "description": "" + }, + "relationships": { + "label": { + "data": [] + }, + "cell": { + "data": [ + { + "type": "cell", + "id": "08f3bbdc4d838000" + }, + { + "type": "cell", + "id": "08f3bbdc58c38000" + }, + { + "type": "cell", + "id": "08f3bbdc5a438000" + }, + { + "type": "cell", + "id": "08f3bbdc5ac38000" + }, + { + "type": "cell", + "id": "08f3bbdc5b038000" + } + ] + }, + "variable": { + "data": [] } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "bits per second", - "prefix": "", - "suffix": "bps", - "base": "10", - "scale": "linear" - } - }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 - }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "stacked", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - }, - { - "type": "view", - "id": "08f3bbdc4e838000", - "attributes": { - "name": "TCP Latency | Parent Nodes", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Latency\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + } + }, + "included": [ + { + "id": "08f3bbdc4d838000", + "type": "cell", + "attributes": { + "x": 0, + "y": 0, + "w": 5, + "h": 4 + }, + "relationships": { + "view": { + "data": { + "type": "view", + "id": "08f3bbdc4d838000" + } } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "Milliseconds", - "prefix": "", - "suffix": "ms", - "base": "10", - "scale": "linear" - } }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 - }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "overlaid", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - }, - { - "type": "view", - "id": "08f3bbdc58c38000", - "attributes": { - "name": "Utilization | Parent Nodes", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Utilization\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> map(fn: (r) => ({ r with _value: r._value * 100.0 }))\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "id": "08f3bbdc58c38000", + "type": "cell", + "attributes": { + "x": 5, + "y": 0, + "w": 5, + "h": 4 + }, + "relationships": { + "view": { + "data": { + "type": "view", + "id": "08f3bbdc58c38000" + } } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "Percent Utilization", - "prefix": "", - "suffix": "%", - "base": "2", - "scale": "linear" - } }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 - }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "overlaid", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - }, - { - "type": "view", - "id": "08f3bbdc5a438000", - "attributes": { - "name": "Utilization | Parent Node", - "properties": { - "shape": "chronograf-v2", - "type": "table", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Utilization\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> last()\n |> group(columns: [\"Type\", \"_time\"])\n |> map(fn: (r) => ({ r with _value: r._value * 100.0 }))\n \n |> sort(columns: [\"_value\", \"Device\"], desc: true)\n |> keep(columns: [\"_value\", \"Device\"])\n |> top(n:9, columns: [\"_value\"])", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "id": "08f3bbdc5a438000", + "type": "cell", + "attributes": { + "x": 10, + "y": 0, + "w": 2, + "h": 8 + }, + "relationships": { + "view": { + "data": { + "type": "view", + "id": "08f3bbdc5a438000" + } } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "colors": [ - { - "id": "base", - "type": "text", - "hex": "#4591ED", - "name": "ocean", - "value": 0 - }, - { - "id": "ebf165e1-871a-4b10-b558-e039f376be40", - "type": "text", - "hex": "#FFD255", - "name": "thunder", - "value": 25 - }, - { - "id": "8b4b10e5-5b16-41b0-8f5b-97f22f8eace2", - "type": "text", - "hex": "#F95F53", - "name": "curacao", - "value": 50 - }, - { - "id": "a36e8317-8138-46a4-bec4-a7588d9f348c", - "type": "text", - "hex": "#BF3D5E", - "name": "ruby", - "value": 75 - } - ], - "tableOptions": { - "verticalTimeAxis": true, - "sortBy": { - "internalName": "_value", - "displayName": "_value", - "visible": true - }, - "wrapping": "", - "fixFirstColumn": false }, - "fieldOptions": [ - { - "internalName": "_start", - "displayName": "_start", - "visible": false - }, - { - "internalName": "_stop", - "displayName": "_stop", - "visible": false - }, - { - "internalName": "_time", - "displayName": "_time", - "visible": false - }, - { - "internalName": "Device", - "displayName": "Device", - "visible": true - }, - { - "internalName": "_value", - "displayName": "_value", - "visible": true - }, - { - "internalName": "ParentNode", - "displayName": "ParentNode", - "visible": false - }, - { - "internalName": "Type", - "displayName": "Type", - "visible": false - }, - { - "internalName": "_field", - "displayName": "_field", - "visible": false - }, - { - "internalName": "_measurement", - "displayName": "_measurement", - "visible": false - } - ], - "timeFormat": "YYYY-MM-DD HH:mm:ss", - "decimalPlaces": { - "isEnforced": false, - "digits": 0 - }, - "note": "", - "showNoteWhenEmpty": false - } - } - }, - { - "type": "view", - "id": "08f3bbdc5ac38000", - "attributes": { - "name": "Download Bandwidth | Top Users", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Device\")\n |> filter(fn: (r) => r[\"_field\"] == \"Download\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "id": "08f3bbdc5ac38000", + "type": "cell", + "attributes": { + "x": 5, + "y": 4, + "w": 5, + "h": 4 + }, + "relationships": { + "view": { + "data": { + "type": "view", + "id": "08f3bbdc5ac38000" + } } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "bits per second", - "prefix": "", - "suffix": "bps", - "base": "10", - "scale": "linear" - } }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 - }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "overlaid", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - }, - { - "type": "view", - "id": "08f3bbdc5ac38001", - "attributes": { - "name": "TCP Latency | Parent Node", - "properties": { - "shape": "chronograf-v2", - "type": "table", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Latency\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> last()\n |> group(columns: [\"Type\", \"_time\"])\n \n |> sort(columns: [\"_value\", \"Device\"], desc: true)\n |> keep(columns: [\"_value\", \"Device\"])\n |> top(n:9, columns: [\"_value\"])", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "id": "08f3bbdc5b038000", + "type": "cell", + "attributes": { + "x": 0, + "y": 4, + "w": 5, + "h": 4 + }, + "relationships": { + "view": { + "data": { + "type": "view", + "id": "08f3bbdc5b038000" + } } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "colors": [ - { - "id": "base", - "type": "text", - "hex": "#4591ED", - "name": "ocean", - "value": 0 - }, - { - "id": "ebf165e1-871a-4b10-b558-e039f376be40", - "type": "text", - "hex": "#FFD255", - "name": "thunder", - "value": 35 - }, - { - "id": "8b4b10e5-5b16-41b0-8f5b-97f22f8eace2", - "type": "text", - "hex": "#F95F53", - "name": "curacao", - "value": 65 - }, - { - "id": "a36e8317-8138-46a4-bec4-a7588d9f348c", - "type": "text", - "hex": "#BF3D5E", - "name": "ruby", - "value": 100 - } - ], - "tableOptions": { - "verticalTimeAxis": true, - "sortBy": { - "internalName": "_value", - "displayName": "_value", - "visible": true - }, - "wrapping": "", - "fixFirstColumn": false }, - "fieldOptions": [ - { - "internalName": "_start", - "displayName": "_start", - "visible": false - }, - { - "internalName": "_stop", - "displayName": "_stop", - "visible": false - }, - { - "internalName": "_time", - "displayName": "_time", - "visible": false - }, - { - "internalName": "Device", - "displayName": "Device", - "visible": true - }, - { - "internalName": "_value", - "displayName": "_value", - "visible": true - }, - { - "internalName": "ParentNode", - "displayName": "ParentNode", - "visible": false - }, - { - "internalName": "Type", - "displayName": "Type", - "visible": false - }, - { - "internalName": "_field", - "displayName": "_field", - "visible": false - }, - { - "internalName": "_measurement", - "displayName": "_measurement", - "visible": false - } - ], - "timeFormat": "YYYY-MM-DD HH:mm:ss", - "decimalPlaces": { - "isEnforced": false, - "digits": 2 - }, - "note": "", - "showNoteWhenEmpty": false - } - } - }, - { - "type": "view", - "id": "08f3bbdc5b038000", - "attributes": { - "name": "Upload Bandwidth | Parent Nodes", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> filter(fn: (r) => r[\"_field\"] == \"Upload\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "type": "view", + "id": "08f3bbdc4d838000", + "attributes": { + "name": "Download Bandwidth | Parent Nodes", + "properties": { + "shape": "chronograf-v2", + "queries": [ + { + "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> filter(fn: (r) => r[\"_field\"] == \"Download\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", + "editMode": "advanced", + "name": "", + "builderConfig": { + "buckets": [], + "tags": [ + { + "key": "_measurement", + "values": [], + "aggregateFunctionType": "filter" + } + ], + "functions": [ + { + "name": "mean" + } + ], + "aggregateWindow": { + "period": "auto", + "fillValues": false + } + } + } + ], + "axes": { + "x": { + "bounds": [ + "", + "" + ], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": [ + "", + "" + ], + "label": "bits per second", + "prefix": "", + "suffix": "bps", + "base": "10", + "scale": "linear" + } + }, + "type": "xy", + "staticLegend": { + "colorizeRows": true, + "opacity": 1, + "orientationThreshold": 100000000, + "widthRatio": 1 + }, + "geom": "line", + "colors": [ + { + "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": 0 + } + ], + "note": "", + "showNoteWhenEmpty": false, + "xColumn": "_time", + "generateXAxisTicks": [], + "xTotalTicks": 0, + "xTickStart": 0, + "xTickStep": 0, + "yColumn": "_value", + "generateYAxisTicks": [], + "yTotalTicks": 0, + "yTickStart": 0, + "yTickStep": 0, + "shadeBelow": false, + "position": "stacked", + "timeFormat": "", + "hoverDimension": "auto", + "legendColorizeRows": true, + "legendHide": false, + "legendOpacity": 1, + "legendOrientationThreshold": 100000000 } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "bits per second", - "prefix": "", - "suffix": "bps", - "base": "10", - "scale": "linear" - } }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 - }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "stacked", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - }, - { - "type": "view", - "id": "08fa2ff558068000", - "attributes": { - "name": "TCP Latency | Devices", - "properties": { - "shape": "chronograf-v2", - "queries": [ - { - "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Latency\")\n |> filter(fn: (r) => r[\"Type\"] == \"Device\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", - "editMode": "advanced", - "name": "", - "builderConfig": { - "buckets": [], - "tags": [ - { - "key": "_measurement", - "values": [], - "aggregateFunctionType": "filter" + { + "type": "view", + "id": "08f3bbdc58c38000", + "attributes": { + "name": "Utilization | Parent Nodes", + "properties": { + "shape": "chronograf-v2", + "queries": [ + { + "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Utilization\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> map(fn: (r) => ({ r with _value: r._value * 100.0 }))\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", + "editMode": "advanced", + "name": "", + "builderConfig": { + "buckets": [], + "tags": [ + { + "key": "_measurement", + "values": [], + "aggregateFunctionType": "filter" + } + ], + "functions": [ + { + "name": "mean" + } + ], + "aggregateWindow": { + "period": "auto", + "fillValues": false + } + } + } + ], + "axes": { + "x": { + "bounds": [ + "", + "" + ], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": [ + "", + "" + ], + "label": "Percent Utilization", + "prefix": "", + "suffix": "%", + "base": "2", + "scale": "linear" + } + }, + "type": "xy", + "staticLegend": { + "colorizeRows": true, + "opacity": 1, + "orientationThreshold": 100000000, + "widthRatio": 1 + }, + "geom": "line", + "colors": [ + { + "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": 0 + } + ], + "note": "", + "showNoteWhenEmpty": false, + "xColumn": "_time", + "generateXAxisTicks": [], + "xTotalTicks": 0, + "xTickStart": 0, + "xTickStep": 0, + "yColumn": "_value", + "generateYAxisTicks": [], + "yTotalTicks": 0, + "yTickStart": 0, + "yTickStep": 0, + "shadeBelow": false, + "position": "overlaid", + "timeFormat": "", + "hoverDimension": "auto", + "legendColorizeRows": true, + "legendHide": false, + "legendOpacity": 1, + "legendOrientationThreshold": 100000000 } - ], - "functions": [ - { - "name": "mean" - } - ], - "aggregateWindow": { - "period": "auto", - "fillValues": false - } } - } - ], - "axes": { - "x": { - "bounds": [ - "", - "" - ], - "label": "", - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear" - }, - "y": { - "bounds": [ - "", - "" - ], - "label": "Milliseconds", - "prefix": "", - "suffix": "ms", - "base": "10", - "scale": "linear" - } }, - "type": "xy", - "staticLegend": { - "colorizeRows": true, - "opacity": 1, - "orientationThreshold": 100000000, - "widthRatio": 1 + { + "type": "view", + "id": "08f3bbdc5a438000", + "attributes": { + "name": "Utilization | Parent Node", + "properties": { + "shape": "chronograf-v2", + "type": "table", + "queries": [ + { + "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Utilization\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> last()\n |> group(columns: [\"Type\", \"_time\"])\n |> map(fn: (r) => ({ r with _value: r._value * 100.0 }))\n \n |> sort(columns: [\"_value\", \"Device\"], desc: true)\n |> keep(columns: [\"_value\", \"Device\"])\n |> top(n:9, columns: [\"_value\"])", + "editMode": "advanced", + "name": "", + "builderConfig": { + "buckets": [], + "tags": [ + { + "key": "_measurement", + "values": [], + "aggregateFunctionType": "filter" + } + ], + "functions": [ + { + "name": "mean" + } + ], + "aggregateWindow": { + "period": "auto", + "fillValues": false + } + } + } + ], + "colors": [ + { + "id": "base", + "type": "text", + "hex": "#4591ED", + "name": "ocean", + "value": 0 + }, + { + "id": "ebf165e1-871a-4b10-b558-e039f376be40", + "type": "text", + "hex": "#FFD255", + "name": "thunder", + "value": 25 + }, + { + "id": "8b4b10e5-5b16-41b0-8f5b-97f22f8eace2", + "type": "text", + "hex": "#F95F53", + "name": "curacao", + "value": 50 + }, + { + "id": "a36e8317-8138-46a4-bec4-a7588d9f348c", + "type": "text", + "hex": "#BF3D5E", + "name": "ruby", + "value": 75 + } + ], + "tableOptions": { + "verticalTimeAxis": true, + "sortBy": { + "internalName": "_value", + "displayName": "_value", + "visible": true + }, + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [ + { + "internalName": "_start", + "displayName": "_start", + "visible": false + }, + { + "internalName": "_stop", + "displayName": "_stop", + "visible": false + }, + { + "internalName": "_time", + "displayName": "_time", + "visible": false + }, + { + "internalName": "Device", + "displayName": "Device", + "visible": true + }, + { + "internalName": "_value", + "displayName": "_value", + "visible": true + }, + { + "internalName": "ParentNode", + "displayName": "ParentNode", + "visible": false + }, + { + "internalName": "Type", + "displayName": "Type", + "visible": false + }, + { + "internalName": "_field", + "displayName": "_field", + "visible": false + }, + { + "internalName": "_measurement", + "displayName": "_measurement", + "visible": false + } + ], + "timeFormat": "YYYY-MM-DD HH:mm:ss", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "", + "showNoteWhenEmpty": false + } + } }, - "geom": "line", - "colors": [ - { - "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", - "type": "scale", - "hex": "#31C0F6", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", - "type": "scale", - "hex": "#A500A5", - "name": "Nineteen Eighty Four", - "value": 0 - }, - { - "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", - "type": "scale", - "hex": "#FF7E27", - "name": "Nineteen Eighty Four", - "value": 0 - } - ], - "note": "", - "showNoteWhenEmpty": false, - "xColumn": "_time", - "generateXAxisTicks": [], - "xTotalTicks": 0, - "xTickStart": 0, - "xTickStep": 0, - "yColumn": "_value", - "generateYAxisTicks": [], - "yTotalTicks": 0, - "yTickStart": 0, - "yTickStep": 0, - "shadeBelow": false, - "position": "overlaid", - "timeFormat": "", - "hoverDimension": "auto", - "legendColorizeRows": true, - "legendHide": false, - "legendOpacity": 1, - "legendOrientationThreshold": 100000000 - } - } - } - ] - }, - "labels": [] -} \ No newline at end of file + { + "type": "view", + "id": "08f3bbdc5ac38000", + "attributes": { + "name": "Download Bandwidth | Top Users", + "properties": { + "shape": "chronograf-v2", + "queries": [ + { + "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Circuit\")\n |> filter(fn: (r) => r[\"_field\"] == \"Download\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", + "editMode": "advanced", + "name": "", + "builderConfig": { + "buckets": [], + "tags": [ + { + "key": "_measurement", + "values": [], + "aggregateFunctionType": "filter" + } + ], + "functions": [ + { + "name": "mean" + } + ], + "aggregateWindow": { + "period": "auto", + "fillValues": false + } + } + } + ], + "axes": { + "x": { + "bounds": [ + "", + "" + ], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": [ + "", + "" + ], + "label": "bits per second", + "prefix": "", + "suffix": "bps", + "base": "10", + "scale": "linear" + } + }, + "type": "xy", + "staticLegend": { + "colorizeRows": true, + "opacity": 1, + "orientationThreshold": 100000000, + "widthRatio": 1 + }, + "geom": "line", + "colors": [ + { + "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": 0 + } + ], + "note": "", + "showNoteWhenEmpty": false, + "xColumn": "_time", + "generateXAxisTicks": [], + "xTotalTicks": 0, + "xTickStart": 0, + "xTickStep": 0, + "yColumn": "_value", + "generateYAxisTicks": [], + "yTotalTicks": 0, + "yTickStart": 0, + "yTickStep": 0, + "shadeBelow": false, + "position": "overlaid", + "timeFormat": "", + "hoverDimension": "auto", + "legendColorizeRows": true, + "legendHide": false, + "legendOpacity": 1, + "legendOrientationThreshold": 100000000 + } + } + }, + { + "type": "view", + "id": "08f3bbdc5b038000", + "attributes": { + "name": "Upload Bandwidth | Parent Nodes", + "properties": { + "shape": "chronograf-v2", + "queries": [ + { + "text": "from(bucket: \"libreqos\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Bandwidth\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> filter(fn: (r) => r[\"_field\"] == \"Upload\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")", + "editMode": "advanced", + "name": "", + "builderConfig": { + "buckets": [], + "tags": [ + { + "key": "_measurement", + "values": [], + "aggregateFunctionType": "filter" + } + ], + "functions": [ + { + "name": "mean" + } + ], + "aggregateWindow": { + "period": "auto", + "fillValues": false + } + } + } + ], + "axes": { + "x": { + "bounds": [ + "", + "" + ], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": [ + "", + "" + ], + "label": "bits per second", + "prefix": "", + "suffix": "bps", + "base": "10", + "scale": "linear" + } + }, + "type": "xy", + "staticLegend": { + "colorizeRows": true, + "opacity": 1, + "orientationThreshold": 100000000, + "widthRatio": 1 + }, + "geom": "line", + "colors": [ + { + "id": "d3804aa0-9930-45e5-879e-8a79b306d2bc", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "ff778217-93b4-41c1-baf9-5eac71c6969a", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": 0 + }, + { + "id": "770d44dd-3a18-4132-af57-86f3a5fb4738", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": 0 + } + ], + "note": "", + "showNoteWhenEmpty": false, + "xColumn": "_time", + "generateXAxisTicks": [], + "xTotalTicks": 0, + "xTickStart": 0, + "xTickStep": 0, + "yColumn": "_value", + "generateYAxisTicks": [], + "yTotalTicks": 0, + "yTickStart": 0, + "yTickStep": 0, + "shadeBelow": false, + "position": "stacked", + "timeFormat": "", + "hoverDimension": "auto", + "legendColorizeRows": true, + "legendHide": false, + "legendOpacity": 1, + "legendOrientationThreshold": 100000000 + } + } + } + ] + }, + "labels": [] +}