datadog-logs
is a minimalistic crate for logging to DataDog. It does it directly via HTTP(S) using DataDog's public API.
Logger consists of two parts - logging facade that sends messages to dedicated thread or task that batches messages to send to DataDog as presented on sequence diagram below.
Thanks to such a workflow logging should not affect throughput of your application, nor force you to handle errors arising from HTTP.
nonblocking
- enabled a nonblocking implementation of the logger based on Futureswith-tokio
- adds convinience methods to bootstrap logger with tokio