Open flying7eleven opened 1 year ago
I attempted to implement protobufs in my fork but eventually abandoned it as there was basically no documentation on loki's side. If it helps, I can try to dig out the code I had prototyped and push it to GitHub. It's obviously incomplete but it might be useful to get started.
Currently the crate only supports logging messages send via JSON to the Loki backend. The recommended way for the best performance however is to use ProtoBuffers for the payload. This PR should implement this as an optional features for the crate.