Network stats (modem, wifi, wan rx_bytes, rx_packets etc) not being sent at the right intervals
@rslater-cs arbeitet bereits daran.
Seit 06.7.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
There is a type of stat in config called network stat that sets up a diff trigger of 5% change to send stats such as modem.1 rx_bytes, wifi.hp.1.rd2.1 tx_bytes etc.
These stats in old devicecode would read the total values from the file descriptors and apply a 5% difference trigger, so before sending up the delta from the previous value.
I have been looking at the stats from my box which has been running all morning and there is only a single modem.1 rx_bytes sent up:
https://cloud.janga.la/grafana/d/e672a5bd-de9d-4b09-b681-7846b5d327dc/live-box-monitor?orgId=1&var-serial=BB7YJWP7LDUAGF&var-id=ffc72889-ebf1-49ea-8c07-b174623a3664&var-filter_keyword=mcu&from=1783298050440&to=1783338726988&editPanel=7
There are days when multiple stats are sent up, but it looks like it is waiting longer than it should to send up.
This requires further investigation.
A test would be to leave the box on without any connections (it will naturally idly consume small amounts of data) and observe the telemetry in grafana.
- Vorherrschende Sprache
- Lua
- Sterne
- 1
- Forks
- 0
- Ø Merge
- 5 T. 15 Std.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus jangala-dev/devicecode-lua
-
wifi: 40 MHz HE/VHT htmodes unusable — validator only accepts HE40±/VHT40±, which OpenWrt 24.10 ignores (silent 20 MHz)Evtl. vergeben @rslater-cs hat das vor 1 Tag übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
jangala-dev/devicecode-lua#344 · 1 zugewiesene Person ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 8/100
jangala-dev/devicecode-lua#339 ·
-
wired: comma-separated VLAN lists cause false missing-VLAN alertsEvtl. wieder frei @rslater-cs hat das vor 43 Tagen übernommen, und es ist kein Pull Request offen. Offen
jangala-dev/devicecode-lua#333 · 2 zugewiesene Personen ·
-
Reduce network startup and reconnect delaysEvtl. wieder frei @rslater-cs hat das vor 43 Tagen übernommen, und es ist kein Pull Request offen. Offen
jangala-dev/devicecode-lua#332 · 2 zugewiesene Personen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
jangala-dev/devicecode-lua#330 · 1 Kommentar ·
Alle Issues in jangala-dev/devicecode-lua
Ähnliche Issues
-
Wrong step: Ashenvale, Wetlands & Stonetalon Mountains, step 49Evtl. vergeben @b7216309-jpg hat das heute übernommen. Offenguide has-pr
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
fitzforge/polestar#699 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
LuaLS/lua-language-server#3484 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
lewis6991/gitsigns.nvim#1593 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
latex3/pdf_structure#28 · 4 Kommentare ·