Replies: 1 comment 3 replies
-
Hi @bgondell, let's clarify your problem first. if I understand you correctly, you want to set up something like this:
Do u refer to TT config:
You want all the raw data to export to InfluxDB at the end.
How unreliable? It keeps up and down frequently, or it can keep up for a while and then down for a while?
OK. I think TT should be good enough to survive the harsh condition.
Sorry I am not familiar with InfluxDB output plugin. My understanding is that you want TT to be a local data cache for raw metrics data (since you can't guarantee Telegraf will be able to send them to InfluxDB due to network loss). But at every minute you still want to export the raw metrics data to InfluxDB. It is an interesting problem. The first solution might be just not using TickTockDB at all. I know some other collectors (like TCollectors) can hold unsent data in their buffers in case of any network failure. You might want to check if Telegraf has such a feature. Since you expect your network good enough to send raw data every minute to the remote InfluxDB, Telegraf only needs a small buffer. The second option would be to export raw data in TickTockDB to InfluxDB every minute. Since they are two different DBs, we can't migrate data in binary format. The only way is to do it semantically, i.e., to read raw data from TT, translate the data to write queries, and then apply the write queries to InfluxDB. TT provides a script If you just want to migrate data between TT, it will be easy. We design TT in such a way that you just need to copy data files in a TSDB folder (by default 1 day 1 TSDB) to another file path managed by another TT. So we can easily backup data overnight. Unfortunately TT doesn't provide data export features required by your scenarios. It makes your solution complicated. Please let me know if you need further info or helps. |
Beta Was this translation helpful? Give feedback.
-
I've successfully implemented TickTock on Raspberry Pi Zero 2W for data collection. Looking for guidance on efficiently syncing multiple Zeros' TickTock databases to a central InfluxDB 1.8 server.
Current setup:
Data collection: 200ms intervals via Telegraf
Local TickTock flush: Every 10s
Desired sync interval: Every minute, without downsampling
Challenges:
Zeros have unreliable, metered internet connections.
Systems already under heavy load, compression might be costly.
RAM is pretty small, not many free memory available.
Considering InfluxDB output plugin approach, but unsure if optimal.
Is there a recommended strategy for periodic database synchronization while considering these bandwidth and resource constraints?
Beta Was this translation helpful? Give feedback.
All reactions