I’m glad that you found the project interesting.
The basics to get up and running are:
- Install Rust (to build the project): https://rustup.rs/
- git clone email@example.com:michaelr524/downsampler.git
- cd downsampler
- cargo build --release
- Edit config.toml to your needs
- Run like this: downsample -s ‘2018-08-13 15:22:06’ -e ‘2018-08-17 19:03:17’
This command will downsample the given period and exit. I’m currently working on adding continuous integration. When it’s ready, I’ll also add some more documentation. Probably in the next few days.
It reads from existing series and creates or adds to new ones with a similar name. It’s configurable via config.toml.
It’s currently using this algorithm for downsampling: https://github_com/sveinn-steinarsson/flot-downsample
Since it’s written in Rust, it consumes a tiny amount of RAM and is supposed to be very fast. That said, there is a lot of space left for further optimization.