0

I am using Spring JdbcTemplate and SybaseDB along with OpenTelemetry traces enabled. I am using an aspect logger around JdbcTemplate query and execute method that logs time taken to execute those methods.

What I observed that the time that the time logged by the aspect is significantly huge than the time observed in OpenTelemetry Jaegar UI Span.

For an instance, the time logged by the aspect was 556ms and the observed time in Jaegar UI is 225.6ms

Why is there such a huge difference in the logged and the observed time?

Ideally the observed time taken by query to execute in logs and Jaegar traces should be same

0 Answers0