Skip to content

szarykott/datadog-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Feature flags

  • nonblocking - enabled a nonblocking implementation of the logger based on Futures
  • with-tokio - adds convinience methods to bootstrap logger with tokio

About

Simple DataDog logger

Resources

Stars

Watchers

Forks

Packages

No packages published