From 5325a9a5ca780444e1303ebc10e0fa7a023cf314 Mon Sep 17 00:00:00 2001 From: Miketomasulo <79049065+bigmike613@users.noreply.github.com> Date: Sun, 22 Dec 2024 09:27:20 -0500 Subject: [PATCH 1/5] changed docker image and added power option --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b892d69..003f28c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,8 +38,8 @@ services: restart: always grpc: - image: sponsianus/starlink-grpc-tools - command: "dish_grpc_influx.py -t 1 -a -v status obstruction_detail alert_detail ping_drop ping_run_length ping_latency ping_loaded_latency usage bulk_history" + image: miketomasulo/starlink-grpc-tools + command: "dish_grpc_influx.py -t 1 -a -v status power obstruction_detail alert_detail ping_drop ping_run_length ping_latency ping_loaded_latency usage bulk_history" depends_on: - influxdb env_file: From e00d4510a8c24beb068833900623ff25cabc79c8 Mon Sep 17 00:00:00 2001 From: Miketomasulo <79049065+bigmike613@users.noreply.github.com> Date: Sun, 22 Dec 2024 09:40:03 -0500 Subject: [PATCH 2/5] added power monitoring and made some other labeling Improvements --- .../dashboards/starlink/starlink.json | 825 ++++++++++-------- 1 file changed, 477 insertions(+), 348 deletions(-) diff --git a/grafana-provisioning/dashboards/starlink/starlink.json b/grafana-provisioning/dashboards/starlink/starlink.json index 7ffaa17..1c5f2ae 100644 --- a/grafana-provisioning/dashboards/starlink/starlink.json +++ b/grafana-provisioning/dashboards/starlink/starlink.json @@ -25,9 +25,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 4, + "id": 2, "links": [], - "liveNow": false, "panels": [ { "datasource": { @@ -40,11 +39,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -53,6 +54,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -97,6 +99,30 @@ "value": "dB" } ] + }, + { + "matcher": { + "id": "byName", + "options": "spacex.starlink.user_terminal.history.downlink_throughput_bps" + }, + "properties": [ + { + "id": "displayName", + "value": "Download" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "spacex.starlink.user_terminal.history.uplink_throughput_bps" + }, + "properties": [ + { + "id": "displayName", + "value": "Upload" + } + ] } ] }, @@ -123,7 +149,7 @@ "sort": "none" } }, - "pluginVersion": "8.5.3", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], @@ -197,6 +223,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -204,10 +231,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], @@ -286,6 +315,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -293,10 +323,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], @@ -325,43 +357,12 @@ { "datasource": { "type": "influxdb", - "uid": "QO9OCO_Mz" + "uid": "PECD259BA12A47BBC" }, - "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "mode": "thresholds" }, "mappings": [], "thresholds": { @@ -376,7 +377,8 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, @@ -386,124 +388,66 @@ "x": 20, "y": 0 }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.1.2", - "targets": [ - { - "datasource": { - "type": "influxdb", - "uid": "QO9OCO_Mz" - }, - "groupBy": [], - "measurement": "spacex.starlink.user_terminal.status", - "orderByTime": "ASC", - "policy": "default", - "queryType": "randomWalk", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "is_snr_above_noise_floor" - ], - "type": "field" - } - ] - ], - "tags": [] - } - ], - "title": "SNR Above Floor", - "type": "timeseries" - }, - { - "datasource": { - "type": "influxdb", - "uid": "starlinkstats" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 12, - "y": 4 - }, - "id": 14, + "id": 15, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": [], "fields": "", "values": false }, - "text": {}, - "textMode": "auto" + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { - "groupBy": [], + "datasource": { + "type": "influxdb", + "uid": "PECD259BA12A47BBC" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "measurement": "spacex.starlink.user_terminal.status", "orderByTime": "ASC", "policy": "default", - "queryType": "randomWalk", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "pop_ping_drop_rate" + "obstruction_duration" ], "type": "field" + }, + { + "params": [], + "type": "max" } ] ], "tags": [] } ], - "title": "Ping Drop Rate", + "title": "Max obstruction time", "type": "stat" }, { @@ -593,8 +537,8 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 16, + "w": 6, + "x": 12, "y": 4 }, "id": 12, @@ -603,6 +547,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -610,10 +555,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], @@ -714,8 +661,8 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 20, + "w": 6, + "x": 18, "y": 4 }, "id": 13, @@ -724,6 +671,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -731,10 +679,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], @@ -772,11 +722,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -785,6 +737,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -841,6 +794,42 @@ "value": "short" } ] + }, + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "spacex.starlink.user_terminal.history.pop_ping_latency_ms" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "spacex.starlink.user_terminal.history.pop_ping_latency_ms" + }, + "properties": [ + { + "id": "displayName", + "value": "POP ICMP Latency" + } + ] } ] }, @@ -868,14 +857,16 @@ "sort": "none" } }, - "pluginVersion": "8.5.3", + "pluginVersion": "11.4.0", "targets": [ { "groupBy": [], "measurement": "spacex.starlink.user_terminal.history", "orderByTime": "ASC", "policy": "default", + "query": "SELECT \"pop_ping_latency_ms\" FROM \"spacex.starlink.user_terminal.history\" WHERE $timeFilter", "queryType": "randomWalk", + "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ @@ -886,20 +877,12 @@ ], "type": "field" } - ], - [ - { - "params": [ - "pop_ping_drop_rate" - ], - "type": "field" - } ] ], "tags": [] } ], - "title": "Latency & Drop Rate", + "title": "Latency", "type": "timeseries" }, { @@ -914,11 +897,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -927,6 +912,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -957,18 +943,42 @@ } ] }, - "unit": "percentunit" + "unit": "ms" }, "overrides": [ { "matcher": { "id": "byName", - "options": "spacex.starlink.user_terminal.status.obstruction_duration" + "options": "spacex.starlink.user_terminal.status.pop_ping_drop_rate" }, "properties": [ { "id": "unit", - "value": "s" + "value": "short" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "spacex.starlink.user_terminal.history.pop_ping_drop_rate" + }, + "properties": [ + { + "id": "unit", + "value": "short" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "spacex.starlink.user_terminal.history.pop_ping_drop_rate" + }, + "properties": [ + { + "id": "displayName", + "value": "POP ICMP Drop Rate" } ] } @@ -980,7 +990,7 @@ "x": 12, "y": 7 }, - "id": 8, + "id": 16, "options": { "legend": { "calcs": [ @@ -998,278 +1008,396 @@ "sort": "none" } }, - "pluginVersion": "8.5.3", + "pluginVersion": "11.4.0", "targets": [ { - "datasource": { - "type": "influxdb", - "uid": "starlinkstats" - }, "groupBy": [], - "hide": false, - "measurement": "spacex.starlink.user_terminal.status", + "measurement": "spacex.starlink.user_terminal.history", "orderByTime": "ASC", "policy": "default", "queryType": "randomWalk", - "refId": "B", + "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "fraction_obstructed" + "pop_ping_drop_rate" ], "type": "field" }, { "params": [ - "*100" + "*-1+100" ], "type": "math" - }, - { - "params": [ - "Percent Obstructed" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "obstruction_duration" - ], - "type": "field" - } - ], - [ - { - "params": [ - "obstruction_interval" - ], - "type": "field" } ] ], "tags": [] } ], - "title": "Obstructions Data", - "transformations": [], + "title": "ICMP", "type": "timeseries" }, { "datasource": { "type": "influxdb", - "uid": "starlinkstats" + "uid": "PECD259BA12A47BBC" }, - "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" }, "custom": { - "align": "center", - "displayMode": "auto", - "filterable": false, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "State" + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "properties": [ - { - "id": "custom.width", - "value": 120 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Obstructed" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "properties": [ - { - "id": "custom.width", - "value": 88 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Bad Location" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" }, - "properties": [ - { - "id": "custom.width", - "value": 102 - } - ] + "thresholdsStyle": { + "mode": "off" + } }, - { - "matcher": { - "id": "byName", - "options": "Temp Throttled" - }, - "properties": [ + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "id": "custom.width", - "value": 116 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Temp Shutdown" - }, - "properties": [ + "color": "green", + "value": null + }, { - "id": "custom.width", - "value": 119 + "color": "red", + "value": 80 } ] }, + "unit": "watt" + }, + "overrides": [ { "matcher": { "id": "byName", - "options": "Motors Stuck" + "options": "spacex.starlink.user_terminal.power.last" }, "properties": [ { - "id": "custom.width", - "value": 103 + "id": "displayName", + "value": "Power Usage" } ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 17, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "min", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "PECD259BA12A47BBC" }, - { - "matcher": { - "id": "byName", - "options": "Mast Not Vertical" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" }, - "properties": [ + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "spacex.starlink.user_terminal.power", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ { - "id": "custom.width", - "value": 128 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Slow Speed" - }, - "properties": [ + "params": [ + "latest_power" + ], + "type": "field" + }, { - "id": "custom.width", - "value": 94 + "params": [], + "type": "last" } ] + ], + "tags": [] + } + ], + "title": "Power Usage", + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "starlinkstats" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "matcher": { - "id": "byName", - "options": "Time (last)" + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "properties": [ - { - "id": "custom.width" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Software Version" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "properties": [ + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ { - "id": "custom.width", - "value": 320 + "color": "green", + "value": null } ] }, + "unit": "percentunit" + }, + "overrides": [ { "matcher": { "id": "byName", - "options": "Roaming" + "options": "spacex.starlink.user_terminal.status.obstruction_duration" }, "properties": [ { - "id": "custom.width", - "value": 79 + "id": "unit", + "value": "s" } ] }, { "matcher": { "id": "byName", - "options": "Heating" + "options": "spacex.starlink.user_terminal.status.mean" }, "properties": [ { - "id": "custom.width", - "value": 84 + "id": "displayName", + "value": "% Obstructed" } ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 8, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.4.0", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "PECD259BA12A47BBC" }, - { - "matcher": { - "id": "byName", - "options": "Unexpected Loc." + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" }, - "properties": [ + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "spacex.starlink.user_terminal.status", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "fraction_obstructed" + ], + "type": "field" + }, { - "id": "custom.width", - "value": 121 + "params": [], + "type": "mean" } ] + ], + "tags": [] + } + ], + "title": "Obstructions Data", + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "starlinkstats" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "transparent", + "mode": "shades" }, - { - "matcher": { - "id": "byName", - "options": "Unexpected Location" + "custom": { + "align": "center", + "cellOptions": { + "mode": "gradient", + "type": "color-background" }, - "properties": [ + "filterable": false, + "inspect": false + }, + "mappings": [ + { + "options": { + "false": { + "color": "semi-dark-green", + "index": 1, + "text": "False" + }, + "true": { + "color": "semi-dark-red", + "index": 0, + "text": "True" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ { - "id": "custom.width", - "value": 153 + "color": "green", + "value": null } ] } - ] + }, + "overrides": [] }, "gridPos": { - "h": 5, + "h": 9, "w": 24, "x": 0, - "y": 14 + "y": 28 }, "id": 11, - "links": [], "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -1279,7 +1407,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.1.2", + "pluginVersion": "11.4.0", "targets": [ { "datasource": { @@ -1292,9 +1420,9 @@ "measurement": "spacex.starlink.user_terminal.status", "orderByTime": "ASC", "policy": "default", - "query": "SELECT \"state\" AS \"State\", \"alert_roaming\" AS \"Roaming\", \"currently_obstructed\" AS \"Obstructed\", \"alert_unexpected_location\" AS \"Bad Location\", \"alert_thermal_throttle\" AS \"Temp Throttled\", \"alert_thermal_shutdown\" AS \"Temp Shutdown\", \"alert_motors_stuck\" AS \"Motors Stuck\", \"software_version\" AS \"Software Version\", \"alert_slow_ethernet_speeds\" AS \"Slow Speed\", \"alert_is_heating\" AS \"Heating\", \"alert_mast_not_near_vertical\" AS \"Mast Not Vertical\" FROM \"spacex.starlink.user_terminal.status\" WHERE $timeFilter", + "query": "SELECT \"state\" AS \"State\", \"currently_obstructed\" AS \"Obstructed\", \"alert_unexpected_location\" AS \"Unexpected Location\", \"alert_thermal_throttle\" AS \"Temp Throttled\", \"alert_thermal_shutdown\" AS \"Temp Shutdown\", \"alert_motors_stuck\" AS \"Motors Stuck\", \"software_version\" AS \"Software Version\", \"alert_install_pending\" AS \"Install Pending\", \"alert_slow_ethernet_speeds\" AS \"Slow Speed\", \"alert_mast_not_near_vertical\" AS \"Mast Not Vertical\", \"alert_is_heating\" AS \"Heating\", \"alert_roaming\" AS \"Roaming\" FROM \"spacex.starlink.user_terminal.status\" WHERE $timeFilter", "queryType": "randomWalk", - "rawQuery": false, + "rawQuery": true, "refId": "A", "resultFormat": "table", "select": [ @@ -1474,6 +1602,10 @@ "aggregations": [], "operation": "groupby" }, + "Install Pending": { + "aggregations": [], + "operation": "groupby" + }, "Mast Not Vertical": { "aggregations": [], "operation": "groupby" @@ -1547,19 +1679,21 @@ "id": "organize", "options": { "excludeByName": {}, + "includeByName": {}, "indexByName": { "Heating": 3, + "Install Pending": 10, "Mast Not Vertical": 7, "Motors Stuck": 6, "Obstructed": 2, - "Roaming": 10, + "Roaming": 11, "Slow Speed": 8, "Software Version": 9, "State": 1, "Temp Shutdown": 5, "Temp Throttled": 4, "Time (last)": 0, - "Unexpected Location": 11 + "Unexpected Location": 12 }, "renameByName": { "State": "", @@ -1571,26 +1705,34 @@ "type": "table" } ], + "preload": false, "refresh": "30s", - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 40, "tags": [], "templating": { "list": [ { + "current": { + "text": "starlinkstats", + "value": "starlinkstats" + }, "hide": 2, "label": "InfluxDB DataSource", "name": "DS_INFLUXDB", "query": "starlinkstats", - "skipUrlSync": false, + "skipUrlSync": true, "type": "constant" }, { + "current": { + "text": "spacex.starlink.user_terminal.status", + "value": "spacex.starlink.user_terminal.status" + }, "hide": 2, "label": "Table name for Statistics", "name": "TBL_STATS", "query": "spacex.starlink.user_terminal.status", - "skipUrlSync": false, + "skipUrlSync": true, "type": "constant" } ] @@ -1599,23 +1741,10 @@ "from": "now/d", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, + "timepicker": {}, "timezone": "browser", - "title": "Statistics", + "title": "Starlink Statistics", "uid": "ymkHwLaMz", - "version": 44, + "version": 23, "weekStart": "sunday" } From 966fcb41ac9e780484f3ce97a8c2ebf59658e65f Mon Sep 17 00:00:00 2001 From: Miketomasulo <79049065+bigmike613@users.noreply.github.com> Date: Sat, 18 Jan 2025 07:06:12 -0500 Subject: [PATCH 3/5] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index c9281fc..7db082e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Docker compose project for tracking Starlink Dishy and Network statistics with G 1. Clone the repo. (Suggested to clone into your `/opt` directory) ```bash - git clone https://github.com/sponsianus/dishy_grafana + git clone https://github.com/bigmike613/dishy_grafana ``` 1. Copy `default.env.tpl` to `default.env` and **edit the variables** to suite your needs. @@ -82,9 +82,6 @@ From the directory containing the `docker-compose.yml` file: ## Support - - Open an issue in the [GitHub repo](https://github.com/sponsianus/dishy_grafana/issues/new). - - Discussion on Reddit in [r/Starlink](https://www.reddit.com/r/Starlink/comments/nhwb6w/dishy_grafana_monitoring/). - ## Resources - See [starlink-grpc-tools](https://github.com/sparky8512/starlink-grpc-tools) for the GRPC tools used in this project. From 958f6351be0f1bce1ed9204fb279f7f46f1caa0c Mon Sep 17 00:00:00 2001 From: Miketomasulo <79049065+bigmike613@users.noreply.github.com> Date: Sat, 31 May 2025 15:56:01 -0400 Subject: [PATCH 4/5] Create Dockerfile --- Dockerfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..043ec11 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +#Use to rebuild the docker image if https://github.com/sparky8512/starlink-grpc-tools.git is ever updated. + +FROM python:3.9 +LABEL maintainer="neurocis " + +RUN true && \ +\ +ARCH=`uname -m`; \ +if [ "$ARCH" = "armv7l" ]; then \ + NOBIN_OPT="--no-binary=grpcio"; \ +else \ + NOBIN_OPT=""; \ +fi; \ +# Install python prerequisites +pip3 install --no-cache-dir $NOBIN_OPT \ + croniter==2.0.5 pytz==2024.1 six==1.16.0 \ + grpcio==1.62.2 \ + influxdb==5.3.2 certifi==2024.2.2 charset-normalizer==3.3.2 idna==3.7 \ + msgpack==1.0.8 requests==2.31.0 urllib3==2.2.1 \ + influxdb-client==1.42.0 reactivex==4.0.4 \ + paho-mqtt==2.0.0 \ + pypng==0.20220715.0 \ + python-dateutil==2.9.0 \ + typing_extensions==4.11.0 \ + yagrc==1.1.2 grpcio-reflection==1.62.2 protobuf==4.25.3 + +WORKDIR /app +RUN git clone https://github.com/sparky8512/starlink-grpc-tools.git +RUN cp -r starlink-grpc-tools/* /app/ + + +ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"] +CMD ["dish_grpc_influx.py status alert_detail"] From 62307a51b3e2d21a836b982b9b90852f714b0a45 Mon Sep 17 00:00:00 2001 From: Miketomasulo <79049065+bigmike613@users.noreply.github.com> Date: Sat, 31 May 2025 15:56:34 -0400 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7db082e..b7bad77 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Starlink Dishy Grafana Dashboards -![Docker Pulls](https://img.shields.io/docker/pulls/sponsianus/starlink-grpc-tools) [![GitHub stars](https://img.shields.io/github/stars/sponsianus/dishy_grafana)](https://github.com/sponsianus/dishy_grafana/stargazers) + Docker compose project for tracking Starlink Dishy and Network statistics with Grafana. @@ -88,4 +88,4 @@ From the directory containing the `docker-compose.yml` file: ## License -[MIT](LICENSE.md) \ No newline at end of file +[MIT](LICENSE.md)