The @CaptureTransaction is working as expected but the span in service is not working it's only capturing RDBMS related information and not the latency of sending mail, how can i include that trace as well
Thanks for the question.
Actually, based on the code and screenshot, it seems that neither annotation is working and what you get is based on the automatic tracing of Spring MVC and JDBC.
Try removing your annotations and see if you get the same.
If so, you need to remove the @CaptureTransaction annotation and figure out why you don't get your service's shareFiles span. Maybe your application_packages config is not set properly.
In any case, once you get it to work, you can add a @CaptureSpan annotation to the sendEmail method to get a better visibility.
I hope this helps.
Hi @Eyal_Koren the things actually got resolved the same day itself but due to some work couldn't reply over here, I wasthinkingthe package scan actually allows * if we scan any package like com.es.monitoring.*, but it actually wont recognized, so I removed it and everything is working as expected.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.