At our hackerspace, we have several environmental sensors and event trackers (such as # connected devices, heating, bar transactions, etc.) that output timeseries data at regular intervals. The output of our current platform consists of a unix timestamp + value/event. The intervals at which these are polled are different for each probe.
The goal is to collect this data in one dataset for
What is a good practical approach the achieve the above goals? Are there existing libraries that provide this functionality?
The current (imperfect) plan:
However, this would result in a dataset with a majority of NaN values and that comes with its own statistical and possibly storage problems. Another option is to predetermine an median interval and store that losing some data.
Time-series databases have shown to be the correct answer after some further searching. I plan on using OpenTSDB as it seems the most developed out of the available timeseries databases.
This solves the storage and interval querying issues as these are built into the database management system. Then it is just a matter of visualization with Bokeh.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.