punt
punt copied to clipboard
[WIP] The Great Datastore Refactor
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