openwisp/openwisp-monitoring

[bug] Input field "rx_bytes" on measurement \"traffic\" is type float, already exists as type integer

nemesifier opened this issue · 0 comments

Noticing this error on some instances:

[2023-04-26 18:50:20,146: WARNING/ForkPoolWorker-145348] got exception while writing to tsdb: 400: {"error":"partial write: field type conflict: input field \"rx_bytes\" on measurement \"traffic\" is type float, already exists as type integer dropped=1"}

Maybe we need to force typecasting to integer before saving?
Let's make sure that these errors aren't retried.