Use LD_PRELOAD to inject OpenTelemetry into everything

Published: (March 4, 2026 at 04:15 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Demonstration of the OpenTelemetry Injector

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. This can be a great way to gain observability of non‑Kubernetes workloads like VMs. The injector leverages LD_PRELOAD; you add the LD_PRELOAD instruction to your VM at startup and the rest happens automatically.

Note: Do heed the warnings towards the end of the video, as the tool is still in early development.

0 views
Back to Blog

Related posts

Read more »