Datadog
Datadog logoDatadog · Feature trail

Datadog Agent Binary Size Reduction

2 posts · Apr 2025 – Feb 2026

What this trail covers

Datadog's Go Agent binaries have undergone significant size reductions, decreasing by up to 77% through systematic dependency auditing, targeted refactors, and re-enabling linker optimizations. This effort involved analyzing build tag usage, isolating dependencies into separate packages, and leveraging tools like `go list` and `goda` for dependency graphing. The project also led to contributions to the Go toolchain and improvements for other large Go projects like Kubernetes.

All Datadog trails