Open smortex opened 4 years ago
Hi smortex, sorry for this inconvenience I'll have a look at this ASAP. How's your clojure-fu doing? ;-)
No worries, I just stumbled on this and wanted to log it somewhere so that it's not forgotten.
My clojure-fu still can't find any time to start to exist… Yet, I am working on the idea we discusses about aliases with filters to avoid different resolutions to be interleaved when accessing the data. This is currently under development but I deployed it in prod and am currently enjoying it: https://github.com/opus-codium/maintain-samplerr-aliases
I am secretly refactoring the code a lot in order to have a clean separation between the concepts because I hope to be able to integrate this in samplerr at some point in the future (when I get this clojure-fu :trollface:).
When purging indices, the oldest index removal seems to occur too early: it's currently 2020-04-12 23:49:28 UTC, and samplerr is configured to keep 3 days of metrics at a daily resolution, I therefore expect the daily indices to be:
.samplerr-2020.04.10
.samplerr-2020.04.11
.samplerr-2020.04.12
Yet, I only see:
According to the log file (Europe/Paris time zone), the
.samplerr-2020.04.10
index was removed at 2020-04-12 21:42:27 UTC:I would expect
.samplerr-2020.04.10
not to be removed before 2020-03-13 00:00:00 UTC in such conditions.