An open API service indexing awesome lists of open source software.

https://github.com/artyom/dietdog

Send logs to DataDog with Go's log.Logger
https://github.com/artyom/dietdog

datadog datadog-logs go logging

Last synced: 3 months ago
JSON representation

Send logs to DataDog with Go's log.Logger

Awesome Lists containing this project

README

        

# dietdog, a bare-bones DataDog logger

Stream logs from the standard library log.Logger to DataDog logs API.

## Why?

I wanted to send logs of an existing Go program to the DataDog,
but the official DataDog Go client is enormous, over 9 Mb of source code:

$ tar tvzf datadog-api-client-go-1.14.0.tar.gz | \
awk '$NF~/\.go$/&&$NF!~/_test\.go$/{s+=$5}END{print s}'
9646862

Yes, I know about the datadog-agent.
It requires more resources than the service that emits logs.