Network stats (modem, wifi, wan rx_bytes, rx_packets etc) not being sent at the right intervals
@rslater-cs já está trabalhando nisso.
Desde 6/7/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Lua
- Estrelas
- 1
- Forks
- 0
- Merge médio
- 5d 15h
- PRs com merge (30d)
- 3
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de jangala-dev/devicecode-lua
-
wifi: 40 MHz HE/VHT htmodes unusable — validator only accepts HE40±/VHT40±, which OpenWrt 24.10 ignores (silent 20 MHz)Talvez já em andamento @rslater-cs assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
jangala-dev/devicecode-lua#344 · 1 responsável ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
jangala-dev/devicecode-lua#339 ·
-
wired: comma-separated VLAN lists cause false missing-VLAN alertsTalvez livre de novo @rslater-cs assumiu há 42 dias e não há nenhum pull request aberto. Aberta
jangala-dev/devicecode-lua#333 · 2 responsáveis ·
-
Reduce network startup and reconnect delaysTalvez livre de novo @rslater-cs assumiu há 42 dias e não há nenhum pull request aberto. Aberta
jangala-dev/devicecode-lua#332 · 2 responsáveis ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
jangala-dev/devicecode-lua#330 · 1 comentário ·
Todas as issues de jangala-dev/devicecode-lua
Issues semelhantes
-
guide
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fitzforge/polestar#672 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
code health memtx mvcc
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Witch 2Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 91/100
LuaLS/lua-language-server#3482 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias