datadog-logs

Crates.iodatadog-logs
lib.rsdatadog-logs
version0.2.1
sourcesrc
created_at2020-09-04 11:38:41.307225
updated_at2021-02-21 11:37:47.249247
descriptionSimple client library for DataDog logs
homepage
repositoryhttps://github.com/szarykott/datadog-logs
max_upload_size
id284645
size49,978
Radosław Kot (szarykott)

documentation

README

Datadog Logs

What

datadog-logs is a minimalistic crate for logging to DataDog. It does it directly via HTTP(S) using DataDog's public API.

How

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.

sequence diagram of workflow

Thanks to such a workflow logging should not affect throughput of your application, nor force you to handle errors arising from HTTP.

Why

Author found no existing library that could be used for this purpose.

Feature flags

  • log-integration - enables integration with log crate (enabled by default)
Commit count: 41

cargo fmt