I'm trying to find a time series database for the following scenario:
- Some sensor on raspberry pi provides the realtime data.
- Some application takes the data and pushes to the time series database.
- If network is off (GSM modem ran out of money or rain or something else), store data locally.
- Once network is available the data should be synchronised to the time series database in the cloud. So no missing data and no duplicates.
- (Optionally) query database from Grafana
I'm looking for time series database that can handle 3. and 4. for me. Is there any?
I can start Prometheus in federated mode (Can I?) and keep one node on raspberry pi for initial ingestion and another node in the cloud for collecting the data. But that setup would instantly consume 64mb+ of memory for Prometheus node.