armink / FlashDB

An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库
Apache License 2.0
1.84k stars 426 forks source link

Add ability to append TSDB value at specific timestamp #256

Closed valkuc closed 11 months ago

valkuc commented 11 months ago

Hi. In some cases it's necessary to save previously collected TSDB items at a specific timestamp. Real life example: I have a log entries that occurs before application receive valid time from NTP. I'm buffering those log entries in vector together with application uptime when the event occured. Then, when app receive a time from NTP, I'm saving collected log entries into TSDB with adjusted timestamp.

armink commented 11 months ago

It's looks like a good idea.