Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Network stats (modem, wifi, wan rx_bytes, rx_packets etc) not being sent at the right intervals

Abierto
#297 0 comentarios 0 reacciones 2 asignados Ver en GitHub

@rslater-cs ya está trabajando en esto.

Desde el 6/7/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Lua
Estrellas
1
Forks
0
Merge medio
5 d 15 h
PR fusionados (30 d)
3

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jangala-dev/devicecode-lua

Todos los issues de jangala-dev/devicecode-lua

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.