Datadog Log Management SDK¶
One API for Datadog Log Management in five languages: TypeScript, Rust, Go, Python and Java. Every package
has the same functions, options, defaults, error codes and behaviour, tested in Docker against
Datadog's own intake emulator (datadog/fakeintake:v79).
| Language | Package | Coverage |
|---|---|---|
| TypeScript | @grow-codes/datadog-logs |
|
| Rust | grow-datadog-logs |
|
| Go | github.com/grow-codes-packages/datadog-logs/go |
|
| Python | grow-datadog-logs |
|
| Java | codes.grow.packages:datadog-logs |
What you get¶
- Client with health, authenticated ping and API key validation (Client).
- Configuration from code or
GROW_DATADOG_LOGS_*/ vendor environment variables, immutable and validated (Configuration). - Retries with full-jitter backoff and
Retry-After, connect/request/total timeouts and cancellation in every language. - Typed errors with one set of codes across languages (Error handling).
- Redaction everywhere: credentials never appear in errors, logs, hooks or
toString(Redaction). - Logging: batching log client, logger facade, redaction processor, framework adapters and log search (Logging).
- Logs intake to every Datadog site: gzip, 1,000 entries / 5 MB per request, 1 MB truncation, reserved attributes and trace correlation (Intake).
- Logs search with an application key:
searchLogswith cursor pagination,aggregateLogs, indexes, a pollingtailandwaitForLog(Search).
Start with Install and the Quickstart.
Independent project
This SDK is made by Grow Codes. Datadog Log Management is a trademark of Datadog, Inc. This project is not affiliated with or endorsed by Datadog, Inc. See License & disclaimer.