Update influxDBdashboardTemplate.json

This commit is contained in:
Robert Chacón 2022-09-25 03:39:08 -06:00 committed by GitHub
parent 5082858444
commit 512ea501f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,23 +20,35 @@
"data": [ "data": [
{ {
"type": "cell", "type": "cell",
"id": "08f3bbdc4d838000" "id": "0a06aad08886e000"
}, },
{ {
"type": "cell", "type": "cell",
"id": "08f3bbdc58c38000" "id": "0a06aad09006e000"
}, },
{ {
"type": "cell", "type": "cell",
"id": "08f3bbdc5a438000" "id": "0a06aad09206e000"
}, },
{ {
"type": "cell", "type": "cell",
"id": "08f3bbdc5ac38000" "id": "0a06aad09246e000"
}, },
{ {
"type": "cell", "type": "cell",
"id": "08f3bbdc5b038000" "id": "0a06aad09546e000"
},
{
"type": "cell",
"id": "0a06ac5b9b86e000"
},
{
"type": "cell",
"id": "0a0854c4d346e000"
},
{
"type": "cell",
"id": "0a08fc354a46e000"
} }
] ]
}, },
@ -47,98 +59,152 @@
}, },
"included": [ "included": [
{ {
"id": "08f3bbdc4d838000", "id": "0a06aad08886e000",
"type": "cell", "type": "cell",
"attributes": { "attributes": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"w": 5, "w": 5,
"h": 4 "h": 2
}, },
"relationships": { "relationships": {
"view": { "view": {
"data": { "data": {
"type": "view", "type": "view",
"id": "08f3bbdc4d838000" "id": "0a06aad08886e000"
} }
} }
} }
}, },
{ {
"id": "08f3bbdc58c38000", "id": "0a06aad09006e000",
"type": "cell", "type": "cell",
"attributes": { "attributes": {
"x": 5, "x": 0,
"y": 0, "y": 5,
"w": 5, "w": 5,
"h": 4 "h": 3
}, },
"relationships": { "relationships": {
"view": { "view": {
"data": { "data": {
"type": "view", "type": "view",
"id": "08f3bbdc58c38000" "id": "0a06aad09006e000"
} }
} }
} }
}, },
{ {
"id": "08f3bbdc5a438000", "id": "0a06aad09206e000",
"type": "cell",
"attributes": {
"x": 0,
"y": 2,
"w": 5,
"h": 3
},
"relationships": {
"view": {
"data": {
"type": "view",
"id": "0a06aad09206e000"
}
}
}
},
{
"id": "0a06aad09246e000",
"type": "cell", "type": "cell",
"attributes": { "attributes": {
"x": 10, "x": 10,
"y": 0, "y": 0,
"w": 2, "w": 2,
"h": 8 "h": 4
}, },
"relationships": { "relationships": {
"view": { "view": {
"data": { "data": {
"type": "view", "type": "view",
"id": "08f3bbdc5a438000" "id": "0a06aad09246e000"
} }
} }
} }
}, },
{ {
"id": "08f3bbdc5ac38000", "id": "0a06aad09546e000",
"type": "cell", "type": "cell",
"attributes": { "attributes": {
"x": 5, "x": 5,
"y": 4, "y": 0,
"w": 5, "w": 5,
"h": 4 "h": 2
}, },
"relationships": { "relationships": {
"view": { "view": {
"data": { "data": {
"type": "view", "type": "view",
"id": "08f3bbdc5ac38000" "id": "0a06aad09546e000"
} }
} }
} }
}, },
{ {
"id": "08f3bbdc5b038000", "id": "0a06ac5b9b86e000",
"type": "cell", "type": "cell",
"attributes": { "attributes": {
"x": 0, "x": 10,
"y": 4, "y": 4,
"w": 5, "w": 2,
"h": 4 "h": 4
}, },
"relationships": { "relationships": {
"view": { "view": {
"data": { "data": {
"type": "view", "type": "view",
"id": "08f3bbdc5b038000" "id": "0a06ac5b9b86e000"
}
}
}
},
{
"id": "0a0854c4d346e000",
"type": "cell",
"attributes": {
"x": 5,
"y": 5,
"w": 5,
"h": 3
},
"relationships": {
"view": {
"data": {
"type": "view",
"id": "0a0854c4d346e000"
}
}
}
},
{
"id": "0a08fc354a46e000",
"type": "cell",
"attributes": {
"x": 5,
"y": 2,
"w": 5,
"h": 3
},
"relationships": {
"view": {
"data": {
"type": "view",
"id": "0a08fc354a46e000"
} }
} }
} }
}, },
{ {
"type": "view", "type": "view",
"id": "08f3bbdc4d838000", "id": "0a06aad08886e000",
"attributes": { "attributes": {
"name": "Download Bandwidth | Parent Nodes", "name": "Download Bandwidth | Parent Nodes",
"properties": { "properties": {
@ -249,14 +315,14 @@
}, },
{ {
"type": "view", "type": "view",
"id": "08f3bbdc58c38000", "id": "0a06aad09006e000",
"attributes": { "attributes": {
"name": "Utilization | Parent Nodes", "name": "Utilization | Parent Nodes",
"properties": { "properties": {
"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\"] == \"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\")", "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 |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")",
"editMode": "advanced", "editMode": "advanced",
"name": "", "name": "",
"builderConfig": { "builderConfig": {
@ -360,7 +426,118 @@
}, },
{ {
"type": "view", "type": "view",
"id": "08f3bbdc5a438000", "id": "0a06aad09206e000",
"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": "0a06aad09246e000",
"attributes": { "attributes": {
"name": "Utilization | Parent Node", "name": "Utilization | Parent Node",
"properties": { "properties": {
@ -368,7 +545,7 @@
"type": "table", "type": "table",
"queries": [ "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\"])", "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 |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\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", "editMode": "advanced",
"name": "", "name": "",
"builderConfig": { "builderConfig": {
@ -491,118 +668,7 @@
}, },
{ {
"type": "view", "type": "view",
"id": "08f3bbdc5ac38000", "id": "0a06aad09546e000",
"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": { "attributes": {
"name": "Upload Bandwidth | Parent Nodes", "name": "Upload Bandwidth | Parent Nodes",
"properties": { "properties": {
@ -710,6 +776,324 @@
"legendOrientationThreshold": 100000000 "legendOrientationThreshold": 100000000
} }
} }
},
{
"type": "view",
"id": "0a06ac5b9b86e000",
"attributes": {
"name": "Overload | 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\"] == \"Overload\")\n |> filter(fn: (r) => r[\"Type\"] == \"Parent Node\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> last()\n |> group(columns: [\"Type\", \"_time\"])\n |> map(fn: (r) => ({ r with _value: r._value}))\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": "Device",
"displayName": "Device",
"visible": true
},
{
"internalName": "_value",
"displayName": "_value",
"visible": true
}
],
"timeFormat": "YYYY-MM-DD HH:mm:ss",
"decimalPlaces": {
"isEnforced": false,
"digits": 0
},
"note": "",
"showNoteWhenEmpty": false
}
}
},
{
"type": "view",
"id": "0a0854c4d346e000",
"attributes": {
"name": "Overload Drops | 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\"] == \"Overload\")\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": "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": "0a08fc354a46e000",
"attributes": {
"name": "Upload 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\"] == \"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": "overlaid",
"timeFormat": "",
"hoverDimension": "auto",
"legendColorizeRows": true,
"legendHide": false,
"legendOpacity": 1,
"legendOrientationThreshold": 100000000
}
}
} }
] ]
}, },