Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Statistics modules should write to time series DB #1289
Statistics data are currently written to the database table
There are several time series databases around.
The first possible module could be the
We keep the library functions in monitoringstats.py like
After we made this modular, we could look for more preformant time series databases like Prometheus, Wisper or timescale DB.
Finally we should drop the old statistics (lib/stats.py) which is based on the audit log an uses pandas!
@fredreichbier To be able to write to different time series database we need the app-configuration in some task modules like in the
First I thought of passing the app-config in the do-method, but then I thought it might be nicer to pass the app-config in the constructor of the class.
But now I end up with problems passing a parameter to a constructer of the task modules in your nice lamda voodoo of
It might be also only a problem due to the Mock in the tests. Let's talk.