TLDR Web Dev · ARTICLES & TUTORIALS
OPENTELEMETRY FOR GO: MEASURING THE OVERHEAD
Summary from the TLDR Web Dev newsletter
Everything comes at a cost, even logging. This article benchmarks logging overhead in a Go HTTP server that handles over 10k requests/second. It finds that enabling OpenTelemetry increased CPU usage by 35% (from 2 to 2.7 cores), memory by 50% (10MB to 15-18MB), and p99 latency from 10ms to 15ms while adding 4MB/second of network traffic for telemetry export.