Hello everyone,
the company I'm working in is using kibana for a couple of years now. Over the past year we had issues with monitoring the health of our application ( tracking errors and performance). Because of that I would like to introduce kibana APM.
I already had talks with one of our lead developers, who issued some questions/concerns depending the bytecode instrumentation. To overcome these concerns and to ease the adoption I would like to know what kind of code is injected.
I tried to read the code base of the java apm agent (GitHub - elastic/apm-agent-java). As someone who has no experience with java instrumentation its quite hard for me to understand what is happening.
Could someone explain what code exactly is injected or give some reference to the relevant places in the apm-agent code where the code injection happens?