Java Language & PlatformJava Language & Platform
Tools-in-Action30min
ADVANCED

The Magic of OpenTelemetry: Rewriting Your App in Production

This talk explains how the OpenTelemetry Java agent works inside the JVM: class loading interception, runtime bytecode rewriting, and ByteBuddy-based instrumentation of frameworks like Spring, JDBC, and gRPC. It also covers production impacts such as latency, allocations, conflicts, and debugging techniques.

talk.summaryAiDisclaimer

Bruce Bujon
Bruce BujonDatadog

talkDetail.whenAndWhere

Tuesday, October 6, 17:35-18:05
TBA 4
talks.roomOccupancytalks.noOccupancyInfo
talks.description
OpenTelemetry makes traces, metrics, and logs appear as if by magic, but what actually happens behind the Java agent we routinely add to our applications?

This talk goes where most developers never look. You’ll see how the OpenTelemetry agent sneaks into your JVM, intercepts class loading, and rewrites your application on the fly. We’ll explore the power of the javaagent mechanism, the Instrumentation API, and the internals of ByteBuddy that allow instrumenting Spring, Servlets, JDBC, or gRPC without changing a single line of your code. Your application is running, but not quite the way you think it is.

You’ll leave with a clear understanding of the real impact these changes can have in production: latency, allocations, potential conflicts, and behavior modified at runtime, along with practical techniques to diagnose what is really happening under the hood.

If you’re using OpenTelemetry without really knowing what it’s doing inside your JVM, or if you want to finally understand how an agent can rewrite your application in production, then welcome: this session opens the black box… and reveals the magic.
instrumentation
bytebuddy
javaagent
opentelemetry
talks.speakers
Bruce Bujon

Bruce Bujon

Datadog

France

Bruce Bujon is a Senior Software Engineer at Datadog, and lives near Paris. He spent about 15 years building distributed systems using the Java ecosystem. Today, he also leads the Paris JUG, and contributes to Open Source projects related to privacy like its ad-blocker AdAway. When he is not working, he is probably reverse engineering some applications or soldering the quirky prototype of its next gadget.