{ "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": "08f3bbdc58c38000" }, { "type": "cell", "id": "08f3bbdc5a438000" }, { "type": "cell", "id": "08f3bbdc5ac38000" }, { "type": "cell", "id": "08f3bbdc5b038000" } ] }, "variable": { "data": [] } } }, "included": [ { "id": "08f3bbdc4d838000", "type": "cell", "attributes": { "x": 0, "y": 0, "w": 5, "h": 4 }, "relationships": { "view": { "data": { "type": "view", "id": "08f3bbdc4d838000" } } } }, { "id": "08f3bbdc58c38000", "type": "cell", "attributes": { "x": 5, "y": 0, "w": 5, "h": 4 }, "relationships": { "view": { "data": { "type": "view", "id": "08f3bbdc58c38000" } } } }, { "id": "08f3bbdc5a438000", "type": "cell", "attributes": { "x": 10, "y": 0, "w": 2, "h": 8 }, "relationships": { "view": { "data": { "type": "view", "id": "08f3bbdc5a438000" } } } }, { "id": "08f3bbdc5ac38000", "type": "cell", "attributes": { "x": 5, "y": 4, "w": 5, "h": 4 }, "relationships": { "view": { "data": { "type": "view", "id": "08f3bbdc5ac38000" } } } }, { "id": "08f3bbdc5b038000", "type": "cell", "attributes": { "x": 0, "y": 4, "w": 5, "h": 4 }, "relationships": { "view": { "data": { "type": "view", "id": "08f3bbdc5b038000" } } } }, { "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 } } }, { "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 } } }, { "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 } } }, { "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": [] }