mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update influxDBdashboardTemplate.json
This commit is contained in:
parent
ee61fddc96
commit
903dbc9b13
@ -22,10 +22,6 @@
|
|||||||
"type": "cell",
|
"type": "cell",
|
||||||
"id": "08f3bbdc4d838000"
|
"id": "08f3bbdc4d838000"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "cell",
|
|
||||||
"id": "08f3bbdc4e838000"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"id": "08f3bbdc58c38000"
|
"id": "08f3bbdc58c38000"
|
||||||
@ -38,17 +34,9 @@
|
|||||||
"type": "cell",
|
"type": "cell",
|
||||||
"id": "08f3bbdc5ac38000"
|
"id": "08f3bbdc5ac38000"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "cell",
|
|
||||||
"id": "08f3bbdc5ac38001"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"id": "08f3bbdc5b038000"
|
"id": "08f3bbdc5b038000"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "cell",
|
|
||||||
"id": "08fa2ff558068000"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -64,7 +52,7 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"w": 4,
|
"w": 5,
|
||||||
"h": 4
|
"h": 4
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -76,31 +64,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "08f3bbdc4e838000",
|
|
||||||
"type": "cell",
|
|
||||||
"attributes": {
|
|
||||||
"x": 8,
|
|
||||||
"y": 4,
|
|
||||||
"w": 4,
|
|
||||||
"h": 4
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"view": {
|
|
||||||
"data": {
|
|
||||||
"type": "view",
|
|
||||||
"id": "08f3bbdc4e838000"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "08f3bbdc58c38000",
|
"id": "08f3bbdc58c38000",
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"x": 4,
|
"x": 5,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"w": 4,
|
"w": 5,
|
||||||
"h": 4
|
"h": 4
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -116,10 +86,10 @@
|
|||||||
"id": "08f3bbdc5a438000",
|
"id": "08f3bbdc5a438000",
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"x": 8,
|
"x": 10,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"w": 2,
|
"w": 2,
|
||||||
"h": 4
|
"h": 8
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"view": {
|
"view": {
|
||||||
@ -134,9 +104,9 @@
|
|||||||
"id": "08f3bbdc5ac38000",
|
"id": "08f3bbdc5ac38000",
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"x": 4,
|
"x": 5,
|
||||||
"y": 4,
|
"y": 4,
|
||||||
"w": 4,
|
"w": 5,
|
||||||
"h": 4
|
"h": 4
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -148,31 +118,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "08f3bbdc5ac38001",
|
|
||||||
"type": "cell",
|
|
||||||
"attributes": {
|
|
||||||
"x": 10,
|
|
||||||
"y": 0,
|
|
||||||
"w": 2,
|
|
||||||
"h": 4
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"view": {
|
|
||||||
"data": {
|
|
||||||
"type": "view",
|
|
||||||
"id": "08f3bbdc5ac38001"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "08f3bbdc5b038000",
|
"id": "08f3bbdc5b038000",
|
||||||
"type": "cell",
|
"type": "cell",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 4,
|
"y": 4,
|
||||||
"w": 4,
|
"w": 5,
|
||||||
"h": 4
|
"h": 4
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -184,24 +136,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "08fa2ff558068000",
|
|
||||||
"type": "cell",
|
|
||||||
"attributes": {
|
|
||||||
"x": 8,
|
|
||||||
"y": 8,
|
|
||||||
"w": 4,
|
|
||||||
"h": 4
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"view": {
|
|
||||||
"data": {
|
|
||||||
"type": "view",
|
|
||||||
"id": "08fa2ff558068000"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"id": "08f3bbdc4d838000",
|
"id": "08f3bbdc4d838000",
|
||||||
@ -313,117 +247,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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",
|
"type": "view",
|
||||||
"id": "08f3bbdc58c38000",
|
"id": "08f3bbdc58c38000",
|
||||||
@ -675,7 +498,7 @@
|
|||||||
"shape": "chronograf-v2",
|
"shape": "chronograf-v2",
|
||||||
"queries": [
|
"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\")",
|
"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",
|
"editMode": "advanced",
|
||||||
"name": "",
|
"name": "",
|
||||||
"builderConfig": {
|
"builderConfig": {
|
||||||
@ -777,137 +600,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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",
|
"type": "view",
|
||||||
"id": "08f3bbdc5b038000",
|
"id": "08f3bbdc5b038000",
|
||||||
@ -1018,117 +710,6 @@
|
|||||||
"legendOrientationThreshold": 100000000
|
"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"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user