eBPF-based auto-instrumentation outperforms manual instrumentation
1–10 of 61 posts
Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#2Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#3This is great. Can you elaborate on how the performance is better?
Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#4Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#5E.g. if you get a RPC request coming in, and make an RPC request in order to serve the incoming RPC request. The traced program needs to track some ID for that request from the time it comes in, through to the place where the the HTTP request comes out. And then that ID has to get injected into a header on the wire so the next program sees the same request ID.
IME that's where most of the overhead (and value) from a manual tracing library comes from.
Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#6Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#7How do you solve the context propagation issue with eBPF based instrumentation? E.g. if you get a RPC request coming in, and make an RPC request in order to serve the incoming RPC request. The traced program needs to track some ID for that request from the time it comes in, through to the place where the the HTTP request comes out. And then that ID has to get injected into a header on the wire so the next program see…
Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#8Somewhat related, I mainly code in Kotlin. Adding open telemetry was just adding agent to command line args (usual Java/JVM magic most people don't like). Then I had a project in Go and I got so tired of all the steps it took (setup and ensuring each context is instrumented) and just gave up. We still add our manual instrumentation for customization, but auto-instrumentation made adoption much easier in the day 0.
Re: eBPF-based auto-instrumentation outperforms manual instrumentation
#9If I am manually implemented all my logs, what do I need to do to move to Odgios?