All Apps and Add-ons

JVM Instrumentation Agent: What is the purpose of SplunkClassFileTransformer and its functionality?

shirbal
Engager

I am trying to understand the need for SplunkClassFileTransformer class and its functionality. Can someone explain me the usage / purpose of SplunkClassFileTransformer?
I am not sure I understand the need for it

0 Karma

Damien_Dallimor
Ultra Champion

shirbal
Engager

But why do we need to transform the classes?

0 Karma

Damien_Dallimor
Ultra Champion

To add tracing instructions into your code AFTER it has been compiled into bytecode :
http://www.correlsense.com/java-bytecode-instrumentation-an-introduction/

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...