Network stats (modem, wifi, wan rx_bytes, rx_packets etc) not being sent at the right intervals
@rslater-cs 已经在做这个了。
开始于 2026年7月6日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- Lua
- 星标
- 1
- 派生
- 0
- 平均合并
- 5 天 15 小时
- 30 天内合并 PR
- 3
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jangala-dev/devicecode-lua 的其他 Issue
-
wifi: 40 MHz HE/VHT htmodes unusable — validator only accepts HE40±/VHT40±, which OpenWrt 24.10 ignores (silent 20 MHz)可能已有人在做 @rslater-cs 于 4 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
jangala-dev/devicecode-lua#344 · 已指派 1 人 ·
-
enhancement
难度 5/5 一周以上 新手友好度 8/100
jangala-dev/devicecode-lua#339 ·
-
wired: comma-separated VLAN lists cause false missing-VLAN alerts可能重新可做 @rslater-cs 于 46 天前认领,目前没有进行中的 PR。 未关闭
jangala-dev/devicecode-lua#333 · 已指派 2 人 ·
-
Reduce network startup and reconnect delays可能重新可做 @rslater-cs 于 46 天前认领,目前没有进行中的 PR。 未关闭
jangala-dev/devicecode-lua#332 · 已指派 2 人 ·
-
难度 4/5 3-5 天 新手友好度 35/100
jangala-dev/devicecode-lua#330 · 1 条评论 ·
查看 jangala-dev/devicecode-lua 的全部 Issue
相似的 Issue
-
test-net.lua fails on linux可能已有人在做 @PatrickDahlin 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
agent-review-finding
难度 2/5 1-3 小时 新手友好度 86/100
codymikol/multiverse.nvim#393 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
pterodactyl/game-eggs#665 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
tatuylonen/wiktextract#1731 · 1 条评论 ·