Skip to content

Commit

Permalink
Merge pull request #27 from artiommocrenco/neighborinfo_net
Browse files Browse the repository at this point in the history
Add NeighborInfo dashboard for entire mesh
  • Loading branch information
artiommocrenco authored Mar 14, 2024
2 parents c37abd1 + da78b61 commit 3a2bd26
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 1 deletion.
181 changes: 181 additions & 0 deletions grafana-dashboards/neighbor-info-net.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.4.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "a7ee7fd2-ee1a-4400-b169-afa1f8c619ed"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "dB"
},
"overrides": []
},
"gridPos": {
"h": 24,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"min",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a7ee7fd2-ee1a-4400-b169-afa1f8c619ed"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "avg_over_time(meshtastic_neighbor_info_snr_decibels[$__interval])",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "1m",
"legendFormat": "{{source_long_name}} ({{source}}) <- {{neighbor_source_long_name}} ({{neighbor_source}})",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "SNR per source, neighbor",
"type": "timeseries"
}
],
"refresh": "1m",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Meshtastic Neighbor Info (Net)",
"uid": "a8711380-ea8b-43d3-931a-e7233e8189f0",
"version": 1,
"weekStart": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
},
"timepicker": {},
"timezone": "",
"title": "Meshtastic Neighbor Info",
"title": "Meshtastic Neighbor Info (Nodes)",
"uid": "a8711380-ea8b-43d3-931a-e7233e8189f1",
"version": 1,
"weekStart": ""
Expand Down

0 comments on commit 3a2bd26

Please sign in to comment.