DEV Community

Adam Gardner
Adam Gardner

Posted on

Use LD_PRELOAD to inject OpenTelemetry into everything

In this video I demonstrate the new OpenTelemetry injector.

It's a mechanism to automatically inject OTEL into your code with zero code or startup script changes. It's potentially a great way to gain Observability of non Kubernetes workloads like VMs. It leverages LD_PRELOAD. You add the LD_PRELOAD instruction to your VM at startup and the rest happens automatically.

Do heed the warnings towards the end of the video though since it's still early days for this tool!

Top comments (0)