Company
Date Published
Author
Michele Mancioppi
Word count
3264
Language
English
Hacker News points
None

Summary

The Lumigo Kubernetes operator is a best-in-class operator that automatically traces applications running on Kubernetes, providing a seamless and automated experience for users. It achieves this by installing the public.ecr.aws/lumigo/lumigo-autotrace:latest container image in the init-container of each pod, which copies tracer files into the pod's volume and enables tracing. The Lumigo injector uses LD_PRELOAD to intercept calls from the dynamically-linked LibC library, adding environment variables that activate the tracer without requiring code modifications. However, dealing with different LibC flavors is less simple, as there are more than two implementations (GNU LibC and musl libc), and the Lumigo injector must be compatible with all of them. The operator provides a unique feature called "false-negative instrumentation" prevention by automatically adding the lumigo.auto-trace label to resources, allowing users to exclude specific resources from tracing using this label.