Skip to content
Snippets Groups Projects
Commit 4367db87 authored by MyIgel's avatar MyIgel :fire:
Browse files

GRafana: Update map nodes and firmware fashboards

parent 246e727e
Branches
No related tags found
No related merge requests found
......@@ -8,173 +8,266 @@
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 5,
"links": [],
"liveNow": false,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "graphite.ffm.freifunk.net",
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 1,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"expr": "aliasByNode(sortByMaxima(removeEmptySeries(freifunk.firmware.*.count)), 2)",
"format": "time_series",
"alias": "[[tag_value]]",
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"value"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"intervalFactor": 2,
"measurement": "firmware",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"count\") FROM \"firmware\" WHERE $timeFilter GROUP BY time($__interval), \"value\" fill(null)",
"rawQuery": false,
"refId": "A",
"target": "aliasByNode(sortByMaxima(removeEmptySeries(freifunk.firmware.*.count)), 2)",
"textEditor": true
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Firmware",
"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
}
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "pps"
},
"overrides": []
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*d1om2-vpn-1312 => Knoten/"
},
"properties": [
{
"id": "custom.stacking",
"value": {
"group": "C",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*l1egacy-vpn-1374 => Knoten/"
},
"properties": [
{
"id": "custom.stacking",
"value": {
"group": "D",
"mode": "normal"
}
}
]
}
]
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/.*d1om2-vpn-1312 => Knoten/",
"stack": "C"
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
{
"alias": "/.*l1egacy-vpn-1374 => Knoten/",
"stack": "D"
"tooltip": {
"mode": "single"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
},
"pluginVersion": "8.3.4",
"targets": [
{
"expr": "min(rate(fastd_peer_tx_packets[10m])>200) by (instance,interface)",
......@@ -185,61 +278,19 @@
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Le Grundrauschen vong 1 Netz her",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
"type": "timeseries"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "graphite.ffm.freifunk.net",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"fontSize": "80%",
"format": "short",
......@@ -250,7 +301,6 @@
"y": 19
},
"id": 4,
"interval": null,
"legend": {
"show": false,
"values": true
......@@ -263,13 +313,51 @@
"strokeWidth": 1,
"targets": [
{
"expr": "aliasByNode(sortByMaxima(removeEmptySeries(freifunk.firmware.*.count)), 2)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"alias": "[[tag_value]]",
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"value"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "firmware",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"target": "aliasByNode(sortByMaxima(removeEmptySeries(freifunk.firmware.*.count)), 2)",
"textEditor": true
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": "5m",
......@@ -278,105 +366,144 @@
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "graphite.ffm.freifunk.net",
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 18,
"x": 6,
"y": 19
},
"hiddenSeries": false,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "current",
"sortDesc": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"hide": false,
"alias": "[[tag_value]]",
"datasource": {
"type": "influxdb",
"uid": "P0BEC5A9646A77189"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"value"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "model",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT top(\"count\", 3) FROM \"model\" WHERE $timeFilter GROUP BY time($__interval), \"value\" fill(null)",
"rawQuery": false,
"refId": "A",
"target": "currentAbove(aliasByNode(freifunk.model.*.count, 2), 0)",
"textEditor": false
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Models",
"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": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
"transformations": [],
"type": "timeseries"
}
],
"refresh": "1m",
"schemaVersion": 26,
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
......@@ -414,5 +541,6 @@
"timezone": "",
"title": "Firmware",
"uid": "000000009",
"version": 2
"version": 3,
"weekStart": ""
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment