Queries on internals of APM

Hi,

I was wondering purely from academic purposes on how the APM attacher intercepts network and DB calls. Since there is no AOP involved as we explicitly don't annotate any of our methods/classes, does the APM do some magic with byte code, if not how does it know what to intercept and get data like queries fired etc?

Hi and thanks for your question!

It should be answered in this FAQ: https://www.elastic.co/guide/en/apm/agent/java/current/faq.html#faq-how-does-it-work

If something is still unclear don't hesitate asking :slight_smile:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.