go-graphite / go-carbon

Golang implementation of Graphite/Carbon server with classic architecture: Agent -> Cache -> Persister
MIT License
801 stars 126 forks source link

[Q] Resizing compressed files? #561

Open akamensky opened 11 months ago

akamensky commented 11 months ago

We are looking to enable compression in our metrics. I tested with a few of our whisper files and this provides very good size reduction for our setup (about 10x reduction).

However I am wondering -- after we compressed existing whisper files, will we be able to "resize" them (same as using whisper-resize.py). I have not found any tools to do that in either this repository or in go-graphite/go-whisper.

deniszh commented 11 months ago

Hi @akamensky , Unfortunately, I see no resize command implemented in go-whisper, although it should be quite easy to implement (repeating logic from python code) You can do that or try Online config/schema migration, although it's quite experimental and looks like have some rough edges.