Follow-up on #24. System metrics only get sent as telemetry while device is connected and communicating with ThingsBoard. Want to save metrics to local database or logs for local analysis and potentially back-filling server data when connection is interrupted.
Proposed Solution
Save payload to SQLite database/logs.
Might create a large database, put a configurable retention limit.
Combine with #26 to solve this issue??
Alternative Solutions
Could leave it as telemetry-only, but it would be hard to diagnose issues if the device is offline.
Problem
Follow-up on #24. System metrics only get sent as telemetry while device is connected and communicating with ThingsBoard. Want to save metrics to local database or logs for local analysis and potentially back-filling server data when connection is interrupted.
Proposed Solution
Save payload to SQLite database/logs.
Might create a large database, put a configurable retention limit.
Combine with #26 to solve this issue??
Alternative Solutions
Could leave it as telemetry-only, but it would be hard to diagnose issues if the device is offline.
Additional Info