I am using a java MVC Based application built on jdk 17 version.
After configuring the ELK agent with application and checking the stacktraces, Its observed that some methods are not captured in the transaction spans.
I have a Implementation clas AbcImpl.java which has method xyz().
The method xyz() , in its implementation has a dao.findbyName() method. This dao is annotated with @Autowired . The DAO Interface ,which is annotated with @Repositoryextends CrudRepository and has the interface method findbyName().
In the agent stack trace, although I am able to capture the traces for rest of the methods the dao method findbyName() are not captured in the stacktraces.
Is there any way we can track these repository methods?
I would need the name of the class implementing your @Repository interface.
E.g. in a class where your respository is injected via @Autowired invoke .getClass().getName() on the autowired repository instance and post the result here. This will be the name of the spring-generated class implementing your @Repository interface.