punt icon indicating copy to clipboard operation
punt copied to clipboard

[WIP] The Great Datastore Refactor

Open b1naryth1ef opened this issue 6 years ago • 0 comments

This PR abstracts away all the ugly details of where our logs are being written too, placing them behind a generic Datastore. The main intention here is that we can now support writing to many different places at once. This actually caused me to cleanup some ugly patches of the code, and I think overall its a net win.

Right now we support elasticsearch (same ole' thang) and clickhouse (new! shiny! wow!). There are obviously a lot of datastore specific configuration/etc that I had to push behind the abstraction, but it's not too leaky and I think overall its at a fairly sane boundary.

WIP WIP WIP

b1naryth1ef avatar Feb 13 '18 07:02 b1naryth1ef