Session
Learn how to legally spy in the JVM! Make your (legacy) application more observable
Did you know the Java Instrumentation API exists already since Java 5? It is actually a way you can spy legally in the JVM and can help you uncover all the details inside the JVM.
The Byte Buddy library uses that power of the JVM and makes it easy to do intercept in the code, but how to use it?
There is a practical way to use it, OpenTelemetry Java agent is both using the Instrumentation API and Byte Buddy to instrument your application. But did you know you can easily create your own extension on top of that?
10 years ago, most Java applications weren't built with observability in mind. Barely any logs, hardly metrics, no traces — just darkness.
What if you could add better instrumentation to your (legacy) Java application or vendor application without modifying its code?
In this talk, we'll explore how the Java Instrumentation API is working, you will learn more about Byte Buddy, OpenTelemetry Java agent and custom extensions, all to get valuable insights about the running application.
You will also learn how to intercept methods calls, create distributed traces and custom metrics by instrumenting code via the OpenTelemetry Java agent. This approach delivers the deep observability needed to finally understand your system's actual behavior.
You'll leave with working code examples and practical patterns you can apply immediately — perfect for anyone who needs to understand what's really happening inside that "legacy system no one wants to touch."
Cees Bos
OpenValue - Java Developer, Observability Engineer & SRE - Grafana Champion
Putten, The Netherlands
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top