Closed nblumhardt closed 8 years ago
Events need to be serialized between the emitter and collector (since args won't all be Send + Sync); JSON is okay (reusable for many collectors, like Seq, Splunk, Elastic) but starting out with msgpack might push down the minimum overhead.
Send + Sync
https://github.com/3Hren/msgpack-rust/issues/19 looks like the way to do this.
Another option may be to appropriate (or define) something like serde_json::Value.
serde_json::Value
Events need to be serialized between the emitter and collector (since args won't all be
Send + Sync
); JSON is okay (reusable for many collectors, like Seq, Splunk, Elastic) but starting out with msgpack might push down the minimum overhead.